DSA Key Concepts

Backtracking Fundamentals

Model a partial solution, its available choices and its completion condition. Use search trees to trace choose, explore and undo; distinguish path state from saved answers, finding one answer from collecting all answers, and explored work from recursion depth.