Chapter 13. Backtracking¶
![]()
Abstract
Like explorers in a maze, we may encounter obstacles as we move forward.
Backtracking lets us start again, try new paths, and eventually find our way out into the light.
Chapter contents¶
- 13.1 Backtracking algorithms
- 13.2 Permutations problem
- 13.3 Subset sum problem
- 13.4 N-queens problem
- 13.5 Summary
- 13.6 Exercises