The interview question bank looks infinite; it isn't. It's about twenty tools wearing thousands of costumes — and the skill being tested is whether you recognize the tool through the costume.
You already know how to program — you fold, you map, you reason about types for a living. The coding interview tests something adjacent but different: can you recognize which of a small set of known tools a disguised problem wants, and apply it out loud, under a clock? That's a learnable skill with a surprisingly small syllabus.
This chapter is the ground floor of the book: what the interviewer is actually scoring, why the industry still runs this strange ritual, the evidence that the problem bank collapses into roughly twenty patterns, and the practice loop that farms that fact. Chapters 4 through 22 are the patterns themselves; Chapters 23 and 24 reassemble them into a decision tree and a training plan.
Here's the uncomfortable fact: the interviewer usually knows the optimal solution before you sit down. If all they wanted was the answer, they'd read it off their sheet. What they're buying is signal — observable evidence, gathered in forty-five minutes, that predicts how you'd behave on the job. The answer is just the vehicle.
Concretely, they're watching three streams:
Notice what's not on the list: trivia, API memorization, whether you've seen this exact problem. Interviewers actively discount "they've clearly memorized this one" — recognition of the pattern reads as skill; recital of the problem reads as luck.
Most companies score some variant of four dials: problem solving, communication, code quality, and verification. Every behavior in the room nudges one or more of them. The toggles below are the behaviors interviewers actually write down — flip them and watch the dials respond. Note how cheap some of the biggest wins are: narrating costs nothing and moves two dials at once.
Why does the industry keep this ritual, given how artificial it is? Because it's the least-bad cheap filter anyone has found at scale: it's standardized (every candidate gets comparable problems), it's resistant to resume inflation, and — the part that matters for you — it's coachable. The dials respond to specific, practicable behaviors, not to genius. Chapter 2 turns those behaviors into a literal six-step script.
LeetCode hosts thousands of problems. That number terrifies people into grinding. But sort the bank by solution shape instead of by title and it collapses: a small number of reusable mechanisms — walk from both ends, slide a window, cache subproblems, search the answer space — cover almost everything. Call each mechanism a pattern: a recognizable problem shape plus a memorized code skeleton that solves it.
Don't take our word for it. Everyone who has tried to compress the bank lands on the same number from different directions:
18, 19, 26 — different knives, same cake. Round it to ~20 patterns. This book teaches them in Chapters 4–22, and the whole zoo is drawn below: two hundred problem dots, and the button that reveals the islands they were always sitting on.
Two candidates each solve 300 practice problems. One grinds them in random order, chasing the daily challenge. The other works pattern by pattern: learns the two-pointer skeleton, solves eight two-pointer problems, moves on. Interview-prep communities consistently report a gap like ~85% versus ~35% success between pattern-organized preparation and random grinding — and coaching services report that 60–80% of DSA questions at large tech companies are recognizable LeetCode-style variants.
Treat those numbers as what they are: reported community figures, not controlled studies. Nobody has run the randomized trial. But the direction is hard to argue with, because the mechanism is obvious: interview problems are novel instances of non-novel shapes. Random grinding trains your memory for instances, which you will never see again. Pattern study trains your eye for shapes, which you will see nothing but.
It's the difference between memorizing a phrasebook and learning the grammar. The phrasebook fails on the first sentence that isn't in it. The grammar generalizes — and generalization is literally the thing Section 1 said the interviewer is buying.
Patterns are not equal citizens. Hash-map problems are everywhere; trie problems are a rounding error. So coverage of the bank grows like a classic diminishing-returns curve: the first handful of patterns buys you half the bank, and each pattern after that buys a thinner slice. The curve below runs the real arithmetic against a 500-problem bank — drag the slider and watch where Blind 75 and NeetCode 150 chose to stand on it.
Read the endgame honestly: the curve tops out near 93%, not 100%. A few percent of problems are genuine oddballs — that's fine. The play is not perfection; it's making the common shapes automatic so your in-room thinking budget is spent on the disguise, not the mechanism. That's also why Blind 75 works at all: 75 problems is tiny, but it was chosen to touch every high-frequency pattern at least twice.
Here's how this book carves the territory. Part I (you are here) is the meta-game. Then:
Chapters cross-reference forward on purpose. When Chapter 6 says "the word subsequence sends you to Chapter 21", that's the map training your recognition reflex before you've even met DP.
Every pattern chapter runs the same three-beat loop, because the skill has three parts:
The widgets exist for the middle of the night before the interview: each one runs the real algorithm with counters exposed, so you can re-watch a mechanism in ten seconds instead of re-reading a chapter.
Two honest warnings before the checklist. First: reading is not practicing. A chapter feels understood the moment the prose makes sense, but recognition only becomes a reflex through reps — that's why every chapter ends with named problems and why Chapter 23 has a drill mode. Second: don't binge. One pattern that survives a week beats four patterns that evaporate by Friday; Chapter 24 builds the spaced schedule for you.
How to use this book, as a checklist:
Here's the book's whole method in one problem. Two Sum Easy: given an array and a target, return the indices of two numbers that sum to it. The brute force checks every pair — O(n²), "for each element, scan everything after it". The pattern replaces the inner scan with a question: have I already seen the number that would complete this pair? A hash map answers that in O(1), so the whole thing drops to O(n) — one pass. You trade memory for a time machine.
Read the delta between the two functions, not the functions: the loop survives, the inner loop becomes a map lookup. That delta — replace re-scanning with remembering — is the entire Chapter 4 pattern. Every pattern chapter's code card has this shape: brute force first (you'll say it in the room; it's your safety net), then the pattern as a small, memorizable edit.