Core Concepts

Backtracking is a refined form of brute force — it prunes the search tree by abandoning paths early. Classic problems include:

Cheatsheet Formulas