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 in Python/Coding

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

Find the Lowest Common Ancestor (LCA) in a Binary Tree.

Python/Codingeasy3 min read
Flipkart
β†’
42

Find the minimum and maximum values in an array

Python/Codingeasypython2 min read
KPMG
β†’
43

Find the next greatest element in a linked list.

Python/Codingeasy2 min read
Flipkart
β†’
44

Find the three numbers from a list whose multiplication equals 180

Python/Codingeasy2 min read
JIO
β†’
45

Finding Complete String Pairs - identify pairs of strings that when concatenated contain all 26 English alphabets

Python/Codingeasy1 min read
JP Morgan
β†’
46

Garbage Collector in Python - explain

Python/Codingeasypython2 min read
NAB
β†’
47

GeoPandas - definition and features

Python/Codingmediumjoin1 min read
NAB
β†’
48

Given 1TB of a file, how to check word count?

Python/Codinghardpartitionspark2 min read
Citi
β†’
49

Given a list of integers, write a Python function to return the number of unique pairs that sum up to a target.

Python/Codingeasypython1 min read
Amazon
β†’
50

Given a list of intervals, merge the overlaps. How do you optimize it?

Python/Codingeasy2 min read
Microsoft
β†’
51

Given a string 'AAAVGXFHHFSGFGGLK', find the non-repeating letters.

Python/Codingeasy2 min read
Cognizant
β†’
52

Given an n-ary tree, write code to flatten it and store the output in a list.

Python/Codingeasy2 min read
Disney+ Hotstar
β†’
53

Given the Infix, Prefix, or Postfix notation of an expression, write the code to compute the final result.

Python/Codingeasy2 min read
Expedia
β†’
54

Given the input string "AAABBBCCCDDDAAA," compress it to output "A3B3C3D3A3."

Python/Codingeasy2 min read
S&P Global
β†’
55

How are strings handled in Scala? How are they different from Java strings?

Python/Codingeasysql1 min read
Coforge
β†’
56

How do you clean missing values in a pandas DataFrame?

Python/Codingeasy2 min read
Swiggy
β†’
57

How do you install a Python library that is not in the Databricks runtime?

Python/Codingeasypython1 min read
TCS
β†’
58

How do you sort a dictionary based on values?

Python/Codingeasy2 min read
HCL
β†’
59

How does your tech stack support scalability and analytics?

Python/Codinghardpartitionspark2 min read
Moonfare
β†’
60

How would you handle memory constraints when processing a large dataset in Python?

Python/Codinghardpythonsql2 min read
Goldman Sachs
β†’

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
Previous12345Next
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