Exercises: Backtracking
Exercises with solutions on designing state vectors, pruning conditions, and backtracking algorithms.
Exercises with solutions on designing state vectors, pruning conditions, and backtracking algorithms.
Exercises with solutions on designing optimistic bounds, heuristics, and branch-and-bound traces.
Exercises with solutions on brute-force algorithms, exhaustive search costs, and testing oracles.
Exercises with solutions on solving recurrences and designing divide-and-conquer algorithms.
Exercises with solutions on counting, optimization, and designing dynamic programming recurrences and tables.
Exercises with solutions on choosing greedy criteria, classic greedy algorithms, and finding counterexamples.
Exercises with solutions on summations, logarithms, factorials, induction, loop invariants, and recurrences.
Exercises with solutions on concurrency concepts, Java Fork/Join tasks, and parallel performance metrics.
Exercises with solutions on specifications, data structures, empirical timing, complexity analysis, loops, and searching.
Exercises with solutions on simple sorts, Quicksort, merging, lower bounds, and algorithm selection.