Skip to main content

References: Backtracking

Books, articles and resources to go deeper into the lessons of this chapter. The textbooks are listed in order of relevance to the course.

Textbooks​

  • R. Guerequeta and A. Vallecillo. Técnicas de diseño de algoritmos. Universidad de Málaga, 1998. Free online: lcc.uma.es/~av/Libro. The chapter "Vuelta atrás" has many solved problems.
  • G. Brassard and P. Bratley. Fundamentals of Algorithmics. Prentice Hall, 1996. The chapter on exploring graphs covers backtracking.
  • A. Levitin. Introduction to the Design and Analysis of Algorithms, 3rd ed. Pearson, 2012. Chapter 12 starts with backtracking, with the N-queens and subset sum problems.
  • S. S. Skiena. The Algorithm Design Manual, 3rd ed. Springer, 2020. A practical chapter on combinatorial search, with advice on pruning.

Original sources​

  • S. W. Golomb and L. D. Baumert. "Backtrack programming". Journal of the ACM, 12(4):516–524, 1965.
  • D. E. Knuth. "Estimating the efficiency of backtrack programs". Mathematics of Computation, 29(129):121–136, 1975. How to estimate the size of a backtracking tree by random sampling.
  • H. C. von Warnsdorff. Des Rösselsprunges einfachste und allgemeinste Lösung. Schmalkalden, 1823. The heuristic for the knight's tour.

Online resources​

Saved only in your browser
Was this lesson helpful?
Questions, or something wrong?

Errors, suggestions and public questions open a form on GitHub, visible to everyone.