DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPacksBlog
ProLogin

Interview Questions

Real questions from top companies in Python/Coding

700+ Easy450+ Medium650+ Hard
All CategoriesBehavioralSpark/Big DataSQLPython/CodingSystem Design/ArchitectureCloud/ToolsGeneral/Othereasymediumhard
81

How do you clean missing values in a pandas DataFrame?

Python/Codingeasy0.1 min read
Swiggy
β†’
82

How do you install a Python library that is not in the Databricks runtime?

Python/Codingeasypython0.1 min read
TCS
β†’
83

How do you sort a dictionary based on values?

Python/Codingeasy0.1 min read
HCL
β†’
84

How does your tech stack support scalability and analytics?

Python/Codinghardpartitionspark0.1 min read
Moonfare
β†’
85

How many cities does each department operate in? List the top 3 departments in terms of the most number of cities. In case of a tie, order by dept_id.

Python/Codingmediumsql0.2 min read
Freight Tiger
β†’
86

How would you configure workload management (WLM) queues for heavy queries?

Python/Codingeasy0.2 min read
Capco
β†’
87

How would you decide between using DISTKEY and SORTKEY?

Python/Codingmediumjoinpartition0.2 min read
Capco
β†’
88

How would you handle errors in your code?

Python/Codingeasy0.1 min read
Thoughtworks
β†’
89

How would you handle memory constraints when processing a large dataset in Python?

Python/Codinghardpythonsql0.1 min read
Goldman Sachs
β†’
90

How would you implement a program to determine the frequency of each letter in a string?

Python/Codingeasy0.1 min read
Delivery Hero
β†’
91

How would you process a 10TB dataset on a single machine in Python?

Python/Codinghardpartitionpythonspark0.2 min read
Goldman Sachs
β†’
92

How would you test these functions with edge cases?

Python/Codingeasy0.1 min read
Microsoft
β†’
93

Identify the Unix command that lists files with specific permissions

Python/Codingeasy0.2 min read
Morgan Stanley
β†’
94

Implement a Python function to count unique words from a file and write them to another file.

Python/Codinghardjoinpython0.1 min read
American Express
β†’
95

Implement a context manager class for a sequence generator using __enter__ and __exit__

Python/Codingeasy0.1 min read
Moonfare
β†’
96

Implement a function to find the maximum sum subarray (Kadane's algorithm).

Python/Codingeasy0.1 min read
HashedIn
β†’
97

Implement a function to reverse a string without using built-in methods.

Python/Codingeasy0.1 min read
HashedIn
β†’
98

Implement a generator function to yield Fibonacci numbers.

Python/Codingeasy0.1 min read
Moonfare
β†’
99

Implement a program to find the intersection of two lists.

Python/Codingeasy0.1 min read
Delivery Hero
β†’
100

Implement a program to remove duplicates from a list while maintaining order.

Python/Codingeasy0.1 min read
Delivery Hero
β†’

Reading isn't practice. Get AI feedback on your answers.

Type or paste your answer to any of these questions and our AI Coach scores it, highlights gaps, and rewrites it at FAANG quality. Free to try.

Try AI Answer Coach β€” FreeStart a Mock Interview
Previous1...34567...9Next
Categories
All QuestionsSQLSpark / Big DataPython / CodingSystem DesignCloud / ToolsBehavioral
By Company
AmazonGoogleDatabricksSnowflakeMicrosoftNetflixUberTCS
Interview Guides
All GuidesTop SQL QuestionsTop Spark QuestionsTop Python QuestionsTop System DesignSQL Window FunctionsETL QuestionsData Modeling
Products
AI Interview CoachAnswer AnalyzerSQL PlaygroundResume AnalyzerInterview PacksPricing
Company
About UsContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
Β© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer