Cracking Leetcode 75
Learn the Trick, Not the Puzzle
-
- $7.99
-
- $7.99
Publisher Description
There are 75 problems in this list. But there are not 75 ideas. There are about ten ideas, wearing 75 different hats.
This book teaches the ten. Twenty-two chapters, one idea each - sliding window, two pointers, prefix sums, monotonic stacks, binary search on the answer, dynamic programming — and seventy-five problems that show you the idea in a new disguise every time.
Every problem runs the same five-page loop. A story that makes the idea obvious before any code appears. The problem itself. A page to think on, before you turn over. A hint for when you are stuck. Then the worked answer, and what an interviewer is actually listening for when you talk through it.
The solutions are pseudocode, not any one language, so the thinking transfers to whatever you write in. The pages are drawn to be read, not skimmed: diagrams, traced examples, handwritten notes in the margin, and a one-page summary at the end of every chapter you can revise from the night before an interview.
Read it. Draw in it. Solve it.