Skip to main content

6 docs tagged with "Backtracking"

View all tags

Backtracking: Classic Problems

Classic backtracking problems: permutations, subset sum, N-queens, knight tour, graph coloring, task assignment, magic squares, and Sudoku.

Choosing a Design Technique

Comparing all six design techniques on 0/1 knapsack, coin change, and Fibonacci, with a practical decision guide.

Exercises: Backtracking

Exercises with solutions on designing state vectors, pruning conditions, and backtracking algorithms.

Proofs: Backtracking

Formal proofs for Chapter 7: completeness of backtracking search and soundness of bound pruning.

Summary: Backtracking

Chapter 7 summary: key ideas, backtracking schemes at a glance, and when to use backtracking.

The Backtracking Scheme

Implicit state-space trees, choose-explore-unchoose, first-solution vs. all-solutions schemes, pruning techniques, and complexity.