
Educational & Professional · Computers & Internet
Learn the Trick, Not the Puzzle
The 75 problems everyone grinds through are really about ten ideas wearing 75 different hats: sliding window, two pointers, prefix sums, monotonic stacks, binary search on the answer, dynamic programming.
Learn the ten, and the seventy-five stop being seventy-five separate things to memorise. The solutions are in pseudocode rather than any one language, so the thinking transfers to whatever you write in.
Every one of the 75 problems is laid out the same way, so you always know where you are and how much help the next page is about to give you.
Where this shape of problem actually shows up, before any code appears.
Stated plainly, with the constraints that decide which pattern applies.
Space to work it out yourself. This is the page that does the teaching.
One nudge toward the right idea, worded to unstick you without giving the answer away.
Worked through in pseudocode, so you can see why each step is there.
Twenty-two chapters build these up one at a time, and each chapter closes with a one-page revision summary you can come back to the night before an interview.
Available now in ebook, paperback and hardcover. Google Play Books is still to come.