Master Algorithms
via Patterns
Stop memorizing code. Learn the underlying patterns behind coding interview problems. Covering 17 patterns and 147+ curated problems.
Explore Patterns
Pattern Decision Tree
Don't guess. Look for these signals to choose the right pattern.
Array + Subarray + Sum/K
String + Permutation + Order
Array + Sorted + Find Pair
Array + Find Cycle / Duplicate
Graph + Shortest Path + Unweighted
Optimal Value + Decision Base
Tree + Level-by-Level
Maximize/Minimize + Overlapping
Kth Smallest/Largest + Stream
Tier 1: Foundation & Core
Master these traversal and window techniques first. They appear in 80% of interviews.
Arrays & Hashing
Master the Arrays & Hashing pattern
Two Pointers
Master the Two Pointers pattern
Sliding Window
Master the Sliding Window pattern
Binary Search
Master the Binary Search pattern
Linked List
Master the Linked List pattern
Tier 2: Tree & Graph Data Structures
The backbone of intermediate algorithms. Required for FAANG.
Trees & Trie
Master the Trees & Trie pattern
Heap Priority Queue
Master the Heap Priority Queue pattern
Heap, Merge, & Stacks
Master the Heap, Merge, & Stacks pattern
Backtracking
Master the Backtracking pattern
Graphs
Master the Graphs pattern
Advanced Graph Algorithms
Master the Advanced Graph Algorithms pattern
Tier 3: Complex Optimization
Dynamic Programming, advanced math, and hard constraints.
1-D DP
Master the 1-D DP pattern
2-D DP
Master the 2-D DP pattern
Bit Manipulation
Master the Bit Manipulation pattern
Math & Geometry
Master the Math & Geometry pattern
Greedy & Design
Master the Greedy & Design pattern
Advanced Data Structures
Master the Advanced Data Structures pattern