πŸͺ

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

DDataEngPrep.tech
Home
PricingBlog
Sign InStart Free→

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 would you test these functions with edge cases?

Python/Codingeasy2 min read
Microsoft
β†’
82

Identify the Unix command that lists files with specific permissions

Python/Codingeasy2 min read
Morgan Stanley
β†’
83

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

Python/Codinghardjoinpython2 min read
American Express
β†’
84

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

Python/Codingeasy2 min read
Moonfare
β†’
85

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

Python/Codingeasy1 min read
HashedIn
β†’
86

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

Python/Codingeasy2 min read
HashedIn
β†’
87

Implement a generator function to yield Fibonacci numbers.

Python/Codingeasy2 min read
Moonfare
β†’
88

Implement a program to find the intersection of two lists.

Python/Codingeasy2 min read
Delivery Hero
β†’
89

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

Python/Codingeasy2 min read
Delivery Hero
β†’
90

Implement a recursive algorithm to find the nth Fibonacci number.

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

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

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

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

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

List Comprehension - example

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

List customers with more than 5 orders.

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

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
β†’
96

Multiprocessing in Python - explain with example

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

Optimize a function to calculate moving averages of user engagement.

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

Partitioning a Linked List based on a value

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

Problem based on lists operations

Python/Codingeasy0.5 min read
McKinsey
β†’
100

Programming languages and their application in past projects.

Python/Codinghardairflowetlpython0.6 min read
ZS Associates
β†’

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...3456Next
Topic Hubs
All Topic Hubs (12 Competencies) β†’All 1,863+ QuestionsSQL Interview QuestionsApache Spark QuestionsPySpark QuestionsPython for Data EngineersSystem Design InterviewData Modeling & WarehousingStreaming (Kafka/Flink)SQL Window FunctionsETL Pipeline Design
Company Hubs
All Company Hubs (100+ Companies) β†’AmazonGoogleMetaDatabricksSnowflakeNetflixUberStripeMicrosoftAppleGoldman SachsAWS Engineering
Academies & Guides
All Guides & ArticlesData Engineering AcademyForward Deployed AI AcademyClient Simulation StudioApache Airflow QuestionsAzure Data EngineerBehavioral & STAR MethodCloud & Distributed Tools
AI Tools & Products
Answer Analyzer (Free)AI Mock InterviewsSQL PlaygroundATS Resume AnalyzerOffline PDF Answer VaultsMembership & Pricing
Company
About & Editorial PolicyContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
Β© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer