Top 50
Skill roadmap
Updated weekly · Last refresh Aug 16

Top 50 Python Interview Questions

The most frequently asked questions on this topic across all roles and companies, ranked by real interview frequency. Updated weekly.

50questions
~21htotal time
522companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
Hash TablesStart here. 15 questions · ~375 min
Design an LRU CacheMedium
Practice
Recently asked

Implement an LRU cache in O(1) average time using a hash table and doubly linked list.

Hash TablesQueueLinked ListsUS Air ForceAllianzICF
Implement an LRU CacheMedium
Practice
Recently asked

Design an LRU cache with O(1) get and put using a hash map and doubly linked list.

Hash TablesLinked ListsHeapquadricThomson ReutersUnitedHealth Group
LRU Cache for Fast RetrievalMedium
Practice
Recently asked

Implement an LRU cache using a hash map and doubly linked list to support O(1) get and put operations.

Hash TablesSearchingSortingLabelboxWorldQuantTwitch
Two Sum Index LookupEasy
Practice
Recently asked

Find two indices in an array whose values sum to a target using a hash table in O(n) time.

Hash TablesArraysTwo PointersNTT DATARe:Build ManufacturingZions Bancorporation
O(1) Insert Delete Random SetMedium
Practice
Recently asked

Implement a set-like structure using an array and hash map to support insert, delete, and random access in average O(1) time.

Hash TablesArraysData StructuresStackadaptFeedzaiWorldQuant
More Hash Tables questions with a free account
2
Recursion20 questions · ~500 min
Check Binary Tree BalanceEasy
Practice
Recently asked

Use postorder recursion to determine whether a binary tree is height-balanced in O(n) time.

RecursionSearchingTreesMetaquadricBell
More Recursion 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
3
Arrays4 questions · ~100 min
Merge Overlapping IntervalsMedium
Practice
Recently asked

Merge overlapping intervals in a list of intervals.

ArraysSearchingSortingDow JonesNextdoor360Learning
More Arrays questions with a free account
4
More topics11 questions · ~275 min
Binary Tree Level Order TraversalEasy
Practice
Recently asked

Traverse a binary tree level by level using a queue-based breadth-first search.

QueueTreesFujitsuDialpadBJC HealthCare
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.