Essential cookies keep authentication working. With your permission, we also use analytics cookies to understand and improve the product. Read our Privacy Policy

DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPricingBlog
ProLogin

Interview Questions

Real questions from top companies

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

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

Python/Codinghardpartitionpythonspark2 min read
Goldman Sachs
β†’
462

How would you test these functions with edge cases?

Python/Codingeasy2 min read
Microsoft
β†’
463

Identify the Unix command that lists files with specific permissions

Python/Codingeasy2 min read
Morgan Stanley
β†’
464

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

Python/Codinghardjoinpython2 min read
American Express
β†’
465

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

Python/Codingeasy2 min read
Moonfare
β†’
466

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

Python/Codingeasy1 min read
HashedIn
β†’
467

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

Python/Codingeasy2 min read
HashedIn
β†’
468

Implement a generator function to yield Fibonacci numbers.

Python/Codingeasy2 min read
Moonfare
β†’
469

Implement a program to find the intersection of two lists.

Python/Codingeasy2 min read
Delivery Hero
β†’
470

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

Python/Codingeasy2 min read
Delivery Hero
β†’
471

Implement a recursive algorithm to find the nth Fibonacci number.

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

Implement an algorithm to find the longest common prefix among an array of strings.

Python/Codingmediumpartitionspark0.6 min read
Disney+ Hotstar
β†’
473

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

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

List Comprehension - example

Python/Codingeasy0.7 min read
LTIMindtree
β†’
475

List customers with more than 5 orders.

Python/Codingmediumjoinpartitionspark0.6 min read
Comcast
β†’
476

List every combination of dept_name, employee_name, and city such that the employee belongs to the department and the same city in which the department is located.

Python/Codingmediumjoin0.6 min read
Freight Tiger
β†’
477

Multiprocessing in Python - explain with example

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

Optimize a function to calculate moving averages of user engagement.

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

Partitioning a Linked List based on a value

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

Problem based on lists operations

Python/Codingeasy0.5 min read
McKinsey
β†’

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...2223242526...47Next
Categories
All QuestionsSQLSpark / Big DataPython / CodingSystem DesignCloud / ToolsBehavioral
By Company
AmazonGoogleDatabricksSnowflakeAWSAzureMicrosoftNetflixUberTCS
Interview Guides
All GuidesTop SQL QuestionsTop Spark QuestionsPySpark QuestionsTop Python QuestionsTop System DesignKafka QuestionsAirflow QuestionsSQL Window FunctionsETL QuestionsData Modeling
Products
AI Interview CoachAnswer AnalyzerSQL PlaygroundResume AnalyzerAnswer Vault PDFsPricing
Company
About & Editorial PolicyContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
Β© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer