The Roadmap
Nine phases from Python foundations to the Mock Round. Every lesson, skill and problem appears once, in the order that builds on what came before.
311 steps on the road
Begin at Python FoundationsChoose a waystation on the map to see its steps.
Phase I of IX · 10 steps
Python Foundations
Learn the syntax, values, control flow, strings, and functions used throughout Python interviews.
- Variables & Data TypesPython Topic
- Operators & ExpressionsPython Topic
- StringsPython Topic
- Control FlowPython Topic
- FunctionsPython Topic
- Reverse Text with SlicingPractice Exercise
- Count VowelsPractice Exercise
- Reverse One Slice SegmentPractice Exercise
- Normalize TextPractice Exercise
- Tokenize WordsPractice Exercise
Phase II of IX · 14 steps
Collections And Complexity
Build fluency with Python collections, deterministic transformations, and cost-aware operations.
- Lists & TuplesPython Topic
- Dictionaries & SetsPython Topic
- Error Handling BasicsPython Topic
- ArrayDSA Skill
- StringDSA Skill
- Hash MapDSA Skill
- Hash SetDSA Skill
- Linear SearchDSA Skill
- HashingDSA Skill
- Track Previously Seen ValuesPractice Exercise
- Valid AnagramInterview Problem
- Contains DuplicateInterview Problem
- Count Word FrequenciesPractice Exercise
- Rank Top WordsPractice Exercise
Phase III of IX · 7 steps
Python Fluency And OOP
Use Python object modeling, iteration protocols, modules, and structured data confidently.
Phase IV of IX · 85 steps
Arrays And Core Patterns
Apply hashing, two pointers, sliding windows, prefix sums, intervals, and array invariants.
- Arrays & Strings — Two Pointers / Sliding WindowPython Topic
- Hashing & SetsPython Topic
- Two PointersDSA Skill
- Opposite-direction PointersDSA Skill
- Same-direction PointersDSA Skill
- Sliding WindowDSA Skill
- Fixed-size WindowDSA Skill
- Variable-size WindowDSA Skill
- Prefix SumDSA Skill
- 2D Prefix SumDSA Skill
- Difference ArrayDSA Skill
- Merge IntervalsDSA Skill
- Sweep LineDSA Skill
- Matrix / GridDSA Skill
- IntervalDSA Skill
- SortingDSA Skill
- QuickselectDSA Skill
- Kadane's AlgorithmDSA Skill
- Build Prefix SumsPractice Exercise
- Slide a Fixed WindowPractice Exercise
- Shrink Until the Window Is ValidPractice Exercise
- Discard Pairs with Two PointersPractice Exercise
- Mark Seen IndicesPractice Exercise
- Merge Two Ordered RunsPractice Exercise
- Keep the K Largest ValuesPractice Exercise
- Best Sum Ending at Each IndexPractice Exercise
- Find the Middle NodePractice Exercise
- Clone Records with Random LinksPractice Exercise
- Find a Key in Hash BucketsPractice Exercise
- Find the First Matching IndexPractice Exercise
- Select the Most Non-Overlapping IntervalsPractice Exercise
- Partition and Quick SortPractice Exercise
- Sort a Bounded Integer RangePractice Exercise
- Group Integers into Ordered BucketsPractice Exercise
- Sort Nonnegative Integers by DigitsPractice Exercise
- Select the Kth Smallest ValuePractice Exercise
- Count Set BitsPractice Exercise
- Find Every String MatchPractice Exercise
- Build a KMP Prefix TablePractice Exercise
- Roll a Window HashPractice Exercise
- Compute GCD with EuclidPractice Exercise
- Generate Primes with a SievePractice Exercise
- Compute Modular PowerPractice Exercise
- Simulate Reservoir SamplingPractice Exercise
- Simulate Fisher-Yates ShufflingPractice Exercise
- Answer Connected Queries with Union-FindPractice Exercise
- Normalize Closed IntervalsPractice Exercise
- Compact Sorted ValuesPractice Exercise
- Answer Matrix Region SumsPractice Exercise
- Apply Range AdditionsPractice Exercise
- Coalesce Busy BlocksPractice Exercise
- Find Peak Active SessionsPractice Exercise
- Find the Missing Number with Cyclic SortPractice Exercise
- Memoize Grid PathsPractice Exercise
- Tabulate Minimum Coin CountPractice Exercise
- Track Stock State with a FeePractice Exercise
- Minimize Adjacent Merge CostPractice Exercise
- Validate a Partial SudokuInterview Problem
- Longest Consecutive SequenceInterview Problem
- Product Except SelfInterview Problem
- Find the Duplicate NumberInterview Problem
- Longest Repeating Character ReplacementInterview Problem
- Find All Duplicates in an ArrayInterview Problem
- Sort Characters by FrequencyInterview Problem
- Friends of Appropriate AgesInterview Problem
- Sort an ArrayInterview Problem
- Binary Subarrays With SumInterview Problem
- Max Consecutive Ones IIIInterview Problem
- Diagonal Traverse IIInterview Problem
- Longest Ones After Deleting One ElementInterview Problem
- Count Subsequences by Minimum and MaximumInterview Problem
- Shortest Subarray to Remove for Sorted OrderInterview Problem
- Encode and Decode StringsInterview Problem
- K-Radius Subarray AveragesInterview Problem
- Maximum Sum of a Distinct Length-K SubarrayInterview Problem
- Shortest Subarray With OR at Least KInterview Problem
- Two SumInterview Problem
- Longest Substring Without Repeating CharactersInterview Problem
- Maximum Container AreaInterview Problem
- Unique Zero-Sum TripletsInterview Problem
- Group AnagramsInterview Problem
- Top K Frequent ElementsInterview Problem
- Merge IntervalsInterview Problem
- Design HashSetInterview Problem
- Design HashMapInterview Problem
Phase V of IX · 54 steps
Linear Data Structures And Search
Master linked structures, stacks, queues, monotonic patterns, and binary search.
- Linked ListsPython Topic
- Fast and Slow PointersDSA Skill
- Monotonic StackDSA Skill
- Monotonic QueueDSA Skill
- Binary Search on AnswerDSA Skill
- Cyclic SortDSA Skill
- In-place Index MappingDSA Skill
- Linked ListDSA Skill
- StackDSA Skill
- QueueDSA Skill
- DequeDSA Skill
- SearchDSA Skill
- Binary SearchDSA Skill
- Cycle DetectionDSA Skill
- Find the First True BoundaryPractice Exercise
- Smallest Square That FitsPractice Exercise
- Previous Smaller ElementPractice Exercise
- Unlink One Node from a Linked ListPractice Exercise
- Simulate a Circular BufferPractice Exercise
- Cancel Adjacent Equal PairsPractice Exercise
- Practice Deque OperationsPractice Exercise
- Maintain Sliding-Window MaximumsPractice Exercise
- Design a Task QueuePractice Exercise
- First and Last Target PositionInterview Problem
- Binary Search a Globally Sorted MatrixInterview Problem
- Search a Rotated Array With DuplicatesInterview Problem
- Minimum of a Rotated Sorted ArrayInterview Problem
- Find a Peak ElementInterview Problem
- Search a Row-and-Column Sorted MatrixInterview Problem
- Odd Even Linked ListInterview Problem
- Resolve a Weighted Random PickInterview Problem
- Find K Closest ElementsInterview Problem
- Peak Index in a Mountain ArrayInterview Problem
- Koko Eating BananasInterview Problem
- Ship Packages Within D DaysInterview Problem
- Longest Continuous Subarray Within LimitInterview Problem
- Cutting RibbonsInterview Problem
- Evaluate Reverse Polish NotationInterview Problem
- Implement Stack Using QueuesInterview Problem
- Daily TemperaturesInterview Problem
- Car FleetInterview Problem
- Time-Based Key-Value StoreInterview Problem
- LRU CacheInterview Problem
- Design Circular QueueInterview Problem
- Min StackInterview Problem
- Remove Nth Node From EndInterview Problem
- Search a Rotated Sorted ArrayInterview Problem
- Add Two NumbersInterview Problem
- Reorder ListInterview Problem
- Split Linked List in PartsInterview Problem
- Insert GCD Nodes in a Linked ListInterview Problem
- Copy a Random-Pointer ListInterview Problem
- Find a Linked-List Cycle EntranceInterview Problem
- Insert Into a Sorted Circular ListInterview Problem
Phase VI of IX · 80 steps
Trees, Graphs, Heap, And Trie
Traverse non-linear structures and choose the right search, ordering, heap, or trie invariant.
- Trees & GraphsPython Topic
- Top KDSA Skill
- K-way MergeDSA Skill
- Island TraversalDSA Skill
- Multi-source BFSDSA Skill
- HeapDSA Skill
- Priority QueueDSA Skill
- TreeDSA Skill
- Binary TreeDSA Skill
- Binary Search TreeDSA Skill
- Balanced TreeDSA Skill
- GraphDSA Skill
- Adjacency ListDSA Skill
- Adjacency MatrixDSA Skill
- Disjoint Set UnionDSA Skill
- TrieDSA Skill
- Depth-first SearchDSA Skill
- Breadth-first SearchDSA Skill
- Topological SortDSA Skill
- Kahn's AlgorithmDSA Skill
- Union-FindDSA Skill
- Bipartite CheckDSA Skill
- Shortest PathDSA Skill
- DijkstraDSA Skill
- Bellman-FordDSA Skill
- Floyd-WarshallDSA Skill
- A* SearchDSA Skill
- Minimum Spanning TreeDSA Skill
- PrimDSA Skill
- KruskalDSA Skill
- Sum Each Tree LevelPractice Exercise
- Root-to-Leaf Path SumsPractice Exercise
- Partition Traversal RangesPractice Exercise
- Visit Each Grid ComponentPractice Exercise
- Distance to the Nearest SourcePractice Exercise
- Topological Sort in LayersPractice Exercise
- Follow Trie EdgesPractice Exercise
- Heap SortPractice Exercise
- Count Components with Union-FindPractice Exercise
- Detect a Directed CyclePractice Exercise
- Validate a Bipartite GraphPractice Exercise
- Compute Nonnegative Shortest PathsPractice Exercise
- Relax Signed Edges with Bellman-FordPractice Exercise
- Compute All-Pairs Shortest PathsPractice Exercise
- Navigate a Grid with A*Practice Exercise
- Measure a Minimum Spanning TreePractice Exercise
- Grow a Spanning Tree with PrimPractice Exercise
- Kruskal's Minimum Spanning TreePractice Exercise
- Profile a Binary TreePractice Exercise
- Build and Query a Binary Search TreePractice Exercise
- Recognize Three-Node Tree RotationsPractice Exercise
- Build Graph RepresentationsPractice Exercise
- Maintain Segment-Tree Range SumsPractice Exercise
- Prefix and Range Sums with a Fenwick TreePractice Exercise
- Keep the K Smallest Stream ValuesPractice Exercise
- Merge Sorted RowsPractice Exercise
- Choose Non-Adjacent Tree ValuesPractice Exercise
- Implement TrieInterview Problem
- Wildcard Word DictionaryInterview Problem
- Map Sum PairsInterview Problem
- Binary Tree Level OrderInterview Problem
- Surrounded RegionsInterview Problem
- Number of IslandsInterview Problem
- Walls and GatesInterview Problem
- Max Area of IslandInterview Problem
- Rotting OrangesInterview Problem
- Kth Largest Element in an ArrayInterview Problem
- Kth Smallest in a Sorted MatrixInterview Problem
- Course ScheduleInterview Problem
- Seat Reservation ManagerInterview Problem
- Sorted List to Balanced BSTInterview Problem
- Validate a Binary Search TreeInterview Problem
- Zigzag Level Order TraversalInterview Problem
- Build Tree from Preorder and InorderInterview Problem
- Build Tree from Inorder and PostorderInterview Problem
- Bottom-Up Level Order TraversalInterview Problem
- Binary Tree Right Side ViewInterview Problem
- Kth Smallest in a BSTInterview Problem
- Lowest Common Ancestor in a BSTInterview Problem
- Count Good Nodes in a Binary TreeInterview Problem
Phase VII of IX · 33 steps
Backtracking And Dynamic Programming
Model choices and overlapping subproblems with explainable recursive and iterative state.
- Recursion & BacktrackingPython Topic
- Dynamic ProgrammingPython Topic
- Choose / Explore / UnchooseDSA Skill
- MemoizationDSA Skill
- TabulationDSA Skill
- State-machine DPDSA Skill
- Interval DPDSA Skill
- Tree DPDSA Skill
- Constraint SatisfactionDSA Skill
- BacktrackingDSA Skill
- RecursionDSA Skill
- Dynamic ProgrammingDSA Skill
- Best Non-Adjacent Sum for Every PrefixPractice Exercise
- Extend a Path by One ChoicePractice Exercise
- Build a Unique AssignmentPractice Exercise
- Maximum Contiguous Subarray SumInterview Problem
- Permutation in StringInterview Problem
- Phone Keypad Letter CombinationsInterview Problem
- Generate Balanced ParenthesesInterview Problem
- Reusable-Candidate Combination SumInterview Problem
- Single-Use Combination SumInterview Problem
- Permutations of Distinct ValuesInterview Problem
- Power Set of Distinct ValuesInterview Problem
- Word Search in a Character GridInterview Problem
- Unique Subsets With Duplicate InputsInterview Problem
- Restore Valid IPv4 AddressesInterview Problem
- Palindrome PartitioningInterview Problem
- Maximum Unique String SplitInterview Problem
- House RobberInterview Problem
- House Robber IIInterview Problem
- Target SumInterview Problem
- Word Search IIInterview Problem
- Path Sum IIInterview Problem
Phase VIII of IX · 26 steps
Stateful Design And Advanced Python
Design stateful interview structures and apply advanced Python tools without obscuring intent.
- Metaclasses & Object ConstructionPython Topic
- DescriptorsPython Topic
- Concurrency BasicsPython Topic
- asyncio & CoroutinesPython Topic
- Memory Model & Garbage CollectionPython Topic
- functools & itertools Deep DivePython Topic
- Design Patterns in PythonPython Topic
- Segment TreeDSA Skill
- Fenwick TreeDSA Skill
- GreedyDSA Skill
- Divide and ConquerDSA Skill
- Merge SortDSA Skill
- Quick SortDSA Skill
- Heap SortDSA Skill
- Counting SortDSA Skill
- Bucket SortDSA Skill
- Radix SortDSA Skill
- Bit ManipulationDSA Skill
- String MatchingDSA Skill
- Knuth-Morris-PrattDSA Skill
- Rabin-KarpDSA Skill
- Euclidean GCDDSA Skill
- Sieve of EratosthenesDSA Skill
- Modular ArithmeticDSA Skill
- Reservoir SamplingDSA Skill
- Fisher-Yates ShuffleDSA Skill
Phase IX of IX · 2 steps
Interview Readiness
Integrate the complete toolkit, close remaining gaps, and Complete a Mock Round under realistic coding-round constraints.
