Backtracking
Systematic depth-first exploration of a decision tree that prunes dead branches early and undoes each choice.
Systematic depth-first exploration of a decision tree that prunes dead branches early and undoes each choice.
From 'guess the number' to allocating resources under constraints — plus the binary-search-on-answer paradigm.