A systematic, pattern-first companion repository inspired by the Big Tech DSA Coding Interview curriculum. Includes all 14 foundational-to-advanced pattern chapters, complete with clean Python 3 solutions, formal Big-O analysis, UMPIRE interview guides, and executable test suites.
- π 0.1 Foreword & How to Use This Book β 3 reading paths (Sequential, Pattern-based, Last-minute cramming).
- π§© 0.2 The UMPIRE Interview Framework β 6-step problem-solving system: Understand β Match β Plan β Implement β Review β Evaluate.
- β±οΈ 0.3 Big-O in 30 Minutes β Asymptotic analysis, amortized complexity, practical constraint bounds.
- π 0.4 Python 3 Cheatsheet for Interviews β Data structures, syntax, heap tricks, and critical pitfalls.
- π€ 0.5 Whiteboard & CoderPad Presentation Guide β Communication etiquette, thinking out loud, and handling hints.
| Chapter | Topic & Core Pattern | Difficulty | Key Problems & Solutions | Code & Study Guide |
|---|---|---|---|---|
| 01 | Chapter 1 β Array | π’ Basic |
Two Sum, Stock Profit, Product Except Self, Kadane's | Open Chapter π |
| 02 | Chapter 2 β String | π’ Basic |
Valid Anagram, Palindrome, Longest Substring Window | Open Chapter π |
| 03 | Chapter 3 β Recursion | π‘ Intermediate |
Climbing Stairs Memoization, Subsets (Power Set) | Open Chapter π |
| 04 | Chapter 4 β Sorting | π‘ Intermediate |
Merge Sort, Dutch National Flag (Sort Colors) | Open Chapter π |
| 05 | Chapter 5 β Binary Search | π‘ Intermediate |
Classic Binary Search, Rotated Array Search | Open Chapter π |
| 06 | Chapter 6 β Hash Table | π’ Basic |
Longest Consecutive Sequence, Subarray Sum Equals K | Open Chapter π |
| 07 | Chapter 7 β Linked List | π‘ Intermediate |
Reverse Linked List, Floyd's Tortoise & Hare Cycle | Open Chapter π |
| 08 | Chapter 8 β Queue + Stack | π‘ Intermediate |
Valid Parentheses, Daily Temperatures Monotonic Stack | Open Chapter π |
| 09 | Chapter 9 β Graph | π΄ Advanced |
Clone Graph, Disjoint Set Union (Union-Find) | Open Chapter π |
| 10 | Chapter 10 β Breadth-First Search (BFS) | π‘ Intermediate |
Tree Level-Order, Shortest Path in Binary Matrix | Open Chapter π |
| 11 | Chapter 11 β Depth-First Search (DFS) | π‘ Intermediate |
Course Schedule 3-State Cycle Detection | Open Chapter π |
| 12 | Chapter 12 β Island Matrix Traversal | π‘ Intermediate |
Number of Islands DFS, Rotting Oranges Multi-Source BFS | Open Chapter π |
| 13 | Chapter 13 β Topological Sort | π΄ Advanced |
Kahn's Indegree Algorithm (Course Schedule II) | Open Chapter π |
| 14 | Chapter 14 β Interval | π‘ Intermediate |
Merge Intervals, Meeting Rooms II Minimum Allocation | Open Chapter π |
- GitHub: @preyal2
- Repository: preyal2/coding-interview-patterns
- Original Authors & Inspiration: PhαΊ‘m Ngα»c LΓ’m & LΓͺ Quang HoΓ (EngineerPro Coding Book)