References: Brute Force
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β
- A. Levitin. Introduction to the Design and Analysis of Algorithms, 3rd ed. Pearson, 2012. Chapter 3 is devoted to brute force and exhaustive search: selection and bubble sort, sequential search, string matching, closest pair, convex hull, the traveling salesman, the knapsack and the assignment problem.
- S. S. Skiena. The Algorithm Design Manual, 3rd ed. Springer, 2020. The chapter on combinatorial search explains how to enumerate subsets and permutations, and when exhaustive search is good enough.
- D. E. Knuth. The Art of Computer Programming, Volume 4A: Combinatorial Algorithms, Part 1. Addison-Wesley, 2011. The definitive reference on generating all tuples, permutations and combinations efficiently.
Related lessonsβ
- The backtracking chapter turns exhaustive search into a systematic search that abandons hopeless candidates early.
Saved only in your browser
Questions, or something wrong?
Errors, suggestions and public questions open a form on GitHub, visible to everyone.