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
21

Anagram Detection - find all anagrams from a given list of strings

Python/Codingeasypython0.2 min read
Paytm
β†’
22

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

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

Can you give an example of processing nested JSON data using these functions?

Python/Codingeasyspark0.2 min read
TCS
β†’
24

Case Class and StructType Syntax

Python/Codingeasypythonspark0.2 min read
LTIMindtree
β†’
25

Check if a number is prime.

Python/Codingeasy0.2 min read
HashedIn
β†’
26

Closure Function - explain

Python/Codingeasy0.2 min read
LTIMindtree
β†’
27

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

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

Collaborating with cross-functional teams to resolve data quality issues

Python/Codingeasy0.2 min read
PayPal
β†’
29

Compare compression algorithms: Gzip vs Snappy.

Python/Codingeasyspark0.2 min read
Gartner
β†’
30

Concatenating lists within a range using list comprehensions

Python/Codingeasy0.2 min read
Tiger Analytics
β†’
31

Convert a Binary Search Tree (BST) into a skewed tree in either increasing or decreasing order

Python/Codingeasy0.1 min read
JP Morgan
β†’
32

Convert a sorted array into a Binary Search Tree

Python/Codingeasy0.1 min read
McKinsey
β†’
33

Convert the list [1, [2, 3], 4, 5, 6, [7, 8, 9]] to a single list [1, 2, 3, 4, 5, 6, 7, 8, 9].

Python/Codingeasy0.2 min read
Cognizant
β†’
34

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

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

Count of Alphabets in String

Python/Codingeasy0.2 min read
LTIMindtree
β†’
36

Create a Python program to demonstrate the use of set operations (union, intersection).

Python/Codingmediumjoinpython0.1 min read
American Express
β†’
37

Create a dictionary with list elements as keys and their occurrences as values.

Python/Codingeasy0.1 min read
Gartner
β†’
38

Create a function to detect anomalies in sales trends using Pandas and NumPy.

Python/Codingeasy0.1 min read
Adidas
β†’
39

Create a script to parse and transform a JSON file into a structured CSV.

Python/Codingeasy0.1 min read
BCG
β†’
40

DSA: Array-based problem - brute-force and optimized solutions

Python/Codingeasy0.1 min read
media.net
β†’

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
Previous1234...9Next
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