Backtracking
Try a choice, go deeper, undo it — and prune the branches that cannot win.
Start the module
1. The Decision Tree · 5 min
0 of 5 lessons · 0% complete
Backtracking visualizer
Every lesson in this module opens with an animation you can step through. This is the first one — The Decision Tree: Choose, explore, un-choose — one shared path walks the whole tree.
The Decision Tree
Step 1 of 8
found0
path
Every backtracking problem is this tree. The root is the empty path; each level picks one more letter.
- Lessons
- 5
- Minutes
- 27
- Problems
- 14
- Concepts
- 4
Quiz yourself: 3 questions from this module
1 / 3