A catalog of five moves, a search tree with most of its branches crossed out before they’re walked, and a guide for reading a new problem’s shape. This lesson is about picking the right move on the first try, not inventing one.
Before you start. You’ve already picked up five tools in this track: arrays, hash maps, trees, graphs, and the trick of a problem asking a smaller copy of itself from Recursion & Dynamic Programming. This lesson is not a sixth tool. It is how you choose between the five you already have, in the first thirty seconds of reading a new problem.
Lesson 14 of 96 in DSA
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.