Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 python Interview Questions

The most frequently asked python questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~21htotal time
717companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
CodingStart here. 49 questions + 1 drill · ~1230 min
Reverse a String in PythonEasy
Practice
Recently asked

Reverse a string in Python using character traversal and return the reversed result.

StringsfunctionspythonCNAAct DigitalLos Alamos National Laboratory
Top IPs from Server LogsEasy
Practice

Count IP frequencies from log lines with a hash map and return the top 10 using sorting by count and lexicographic tie-break.

bashfrequency countpythonRenderAsana SpaAkamai
Moving Average ImplementationEasy
Practice

Calculate averages for every fixed-size window in a price series using a sliding window in O(n) time.

pythonCitadelCapgeminiSnap
Sort a List in PythonEasy
Practice
Recently asked

Sort a Python list in ascending order using the language's built-in sorting algorithm.

Basic AlgorithmsArraysSortingNokiaInc.Inc. In
Chunking Unstructured DocumentsHard
Practice
Recently asked

Normalize a large document and create overlapping word chunks efficiently for vector embedding.

CodingData StructurespythonAdobeAccentureClickUp
Tree Traversal in PythonMedium
Practice

Return pre-order, in-order, and post-order traversals using one iterative stack-based traversal.

pythonHashedIn by DeloitteJ.D. PowerHotstar
Factorial in PythonEasy
Practice
Recently asked

Implement factorial for a non-negative integer using an iterative algorithm.

CodingBasic AlgorithmspythonAlten SpainAlten Delivery Centre SpainALTEN Belgium
Factorial Function in PythonEasy
Practice
Recently asked

Implement factorial for a non-negative integer using an iterative algorithm and handle the mathematical base case correctly.

Basic AlgorithmspythonAlgorithmsAltenVolkswagen Group ItaliaAALTEN México
SQL Coding Question CountMedium
Practice
Practice drill

Count 0 and 1 sensor readings by Bosch building using a CTE, LEFT JOIN, and conditional aggregation.

CodingpythonBosch Building Technologies
More Coding questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
More topics1 question · ~25 min
More questions with a free account
Hands-on SQL practiceWrite and run real queries in the editor. 1 drill · ~10 min
The finish line: interview-readyComplete all 50 questions plus 2 hands-on drills to finish this plan.