DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPacksBlog
ProLogin

Interview Questions

Real questions from top companies

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

Write a Singleton class implementation

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

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

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

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

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

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

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

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

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

Write a function to remove invalid parentheses from a string.

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

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

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

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

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

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

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

Write a solution to efficiently search a rotated sorted array.

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

Write a swap function without if-else.

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

Write code for character frequency in a text file.

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

Write code for palindrome generation.

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

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

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

Write code to manually invoke garbage collection in Java

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

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

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

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

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

Write pseudo code for an ETL pipeline using Python and Pandas

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

Zigzag Order Traversal of a Binary Tree

Python/Codingeasy0.3 min read
Meesho
β†’
880

Add Row Numbers using window function in PySpark

SQLmediumpartitionsparksql0.2 min read
Presidio
β†’

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...4243444546...94Next
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