Interview Prep Platform
Prep for the whole interview.
Coding, system design, behavioral, and hands-on learning tracks — in one searchable place. Worked solutions you can run in the browser, plus concept notes anyone can extend by dropping in a markdown file.
Browse by pattern
All patterns →Arrays & Hashing
13Use hash maps/sets to turn O(n²) scans into O(n) lookups; the bread-and-butter of array problems.
Two Pointers
8Walk two indices through a (often sorted) array to find pairs or partitions in linear time.
Sliding Window
7Maintain a contiguous window and update an aggregate as it grows and shrinks.
Stack
10LIFO structure for matching, monotonic scans, and expression evaluation.
Binary Search
10Repeatedly halve a sorted (or monotonic) search space for logarithmic lookups.
Linked List
11Pointer manipulation: reversal, fast/slow cycle detection, merging, and dummy heads.
Trees
18Recursive DFS and level-order BFS over binary trees and BSTs.
Tries
4Prefix trees for fast word insertion, search, and prefix queries.
Heap / Priority Queue
8Keep the min/max accessible in O(log n) for top-k and scheduling problems.
Backtracking
9Systematically build candidates and undo choices to enumerate combinations/permutations.
Graphs
15Model relationships as nodes & edges; traverse with BFS/DFS, often on grids.
Advanced Graphs
8Shortest paths (Dijkstra), MST, topological order, and union-find connectivity.
1-D Dynamic Programming
15Optimal substructure captured in a one-dimensional table or rolling variables.
2-D Dynamic Programming
13Grid/string DP where each cell depends on neighbors above/left.
Greedy
10Make the locally optimal choice when it provably yields a global optimum.
Intervals
7Sort by endpoints, then sweep to merge, insert, or count overlaps.
Math & Geometry
12Number theory, matrix manipulation, and coordinate tricks.
Bit Manipulation
10XOR, masks, and bit counting for space-efficient O(1) tricks.
Beyond coding
Concept-first notes for the rest of the loop — system design, behavioral, and hands-on learning tracks.
System Design
2 notesBuilding blocks, frameworks, and worked designs for the system-design interview.
Behavioral
2 notesSTAR stories, leadership-principle prep, and answers to the common questions.
Learning
14 notesConcept-first tracks beyond coding interviews — with the same in-page code runner.
Notes
0 notesLow-friction captures — concepts, LeetCode write-ups, and everything else, newest first.