DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPacksBlog
ProLogin

Interview Questions

Real questions from top companies in Python/Coding Β· hard

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

What is the difference between a generator and a list in Python?

Python/Codinghardpython0.5 min read
AltimetrikInfosys
β†’
2

Can you explain the concept of polymorphism and inheritance in Java with examples?

Python/Codinghard0.2 min read
Meesho
β†’
3

Coin Change Problem - minimum number of coins required to make change

Python/Codinghardoptimization0.2 min read
Walmart
β†’
4

Count occurrences of elements in a list of tuples using Spark RDDs

Python/Codinghardoptimizationpartitionspark0.1 min read
Tiger Analytics
β†’
5

Design a solution to generate unique device names from a list of IoT devices.

Python/Codinghardjoinoptimizationpartition3.6 min read
Expedia
β†’
6

Design an algorithm to merge k sorted lists of video streaming data.

Python/Codinghardjoinoptimizationpartition3.6 min read
Disney+ Hotstar
β†’
7

Difference between Stack vs Queue

Python/Codinghardpython0.2 min read
ZS Associates
β†’
8

Explain your approach to designing a scalable customer loyalty program data platform.

Python/Codinghardjoinoptimizationpartition3.6 min read
Adidas
β†’
9

Given 1TB of a file, how to check word count?

Python/Codinghardpartitionspark0.1 min read
Citi
β†’
10

How does your tech stack support scalability and analytics?

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

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

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

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

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

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

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

Implement a recursive algorithm to find the nth Fibonacci number.

Python/Codinghardpartition0.6 min read
Goldman Sachs
β†’
15

Implement an algorithm to find the longest ordered subsequence of vowels in a given string.

Python/Codinghardspark0.6 min read
Expedia
β†’
16

Modify a word count script to output results in descending frequency order.

Python/Codinghardspark0.5 min read
Impetus
β†’
17

Multiprocessing in Python - explain with example

Python/Codinghardpartitionpythonwindow0.5 min read
NAB
β†’
18

Optimize a function to calculate moving averages of user engagement.

Python/Codinghardoptimizationsparkwindow0.5 min read
Disney+ Hotstar
β†’
19

Partitioning a Linked List based on a value

Python/Codinghardpartitionspark0.6 min read
Walmart
β†’
20

Priority Queue Problem - task prioritization and dynamic sorting

Python/Codinghardairflow0.5 min read
PayPal
β†’

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
12Next
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