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
161

Write a Singleton class implementation

Python/Codingeasypython0.3 min read
JP Morgan
β†’
162

Write a decorator function to log the execution time of a function.

Python/Codingeasy0.2 min read
American Express
β†’
163

Write a function that replaces all characters in a list except for a given character

Python/Codingmediumjoin0.2 min read
JP Morgan
β†’
164

Write a function to detect anomalies in streaming data using a sliding window.

Python/Codinghardwindow0.4 min read
Disney+ Hotstar
β†’
165

Write a function to find the longest palindromic substring in a given string.

Python/Codingeasy0.3 min read
Uber
β†’
166

Write a function to remove invalid parentheses from a string.

Python/Codingeasy0.5 min read
Disney+ Hotstar
β†’
167

Write a higher-order function to filter values greater than a threshold in a list.

Python/Codingeasy0.2 min read
Chryselys
β†’
168

Write a script to automate daily ingestion of data from an API into a data lake.

Python/Codingeasyairflow0.3 min read
Swiggy
β†’
169

Write a simple service and controller class in Spring Boot for REST API

Python/Codingeasy0.3 min read
Walmart
β†’
170

Write a solution to efficiently search a rotated sorted array.

Python/Codingeasy0.5 min read
Disney+ Hotstar
β†’
171

Write a swap function without if-else.

Python/Codingeasypython0.1 min read
Gartner
β†’
172

Write code for character frequency in a text file.

Python/Codingeasy0.2 min read
Impetus
β†’
173

Write code for palindrome generation.

Python/Codingeasy0.2 min read
Impetus
β†’
174

Write code to calculate the power of a given number in minimum time complexity.

Python/Codingeasy0.2 min read
Expedia
β†’
175

Write code to manually invoke garbage collection in Java

Python/Codingeasy0.2 min read
Walmart
β†’
176

Write code to merge two sorted arrays without using extra space.

Python/Codingeasy0.3 min read
Goldman Sachs
β†’
177

Write code using Java's concurrent API (forEach, forEachEntry, forEachKey)

Python/Codingeasy0.2 min read
JP Morgan
β†’
178

Write pseudo code for an ETL pipeline using Python and Pandas

Python/Codingeasyetlpythonsql0.3 min read
Morgan Stanley
β†’
179

Zigzag Order Traversal of a Binary Tree

Python/Codingeasy0.3 min read
Meesho
β†’

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...789
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