Brute Force and Exhaustive Search
Direct brute force and exhaustive search, naive string matching, subset enumeration, and using brute force as a testing oracle.
Direct brute force and exhaustive search, naive string matching, subset enumeration, and using brute force as a testing oracle.
Comparing all six design techniques on 0/1 knapsack, coin change, and Fibonacci, with a practical decision guide.
Exercises with solutions on brute-force algorithms, exhaustive search costs, and testing oracles.
Chapter 3 summary: key ideas, exhaustive search costs, and when brute force is the right choice.