Analyzing Divide and Conquer
Analyzing divide-and-conquer recurrences using the division (Master) and subtraction formulas with parameters a, b, and k.
Analyzing divide-and-conquer recurrences using the division (Master) and subtraction formulas with parameters a, b, and k.
Exercises with solutions on solving recurrences and designing divide-and-conquer algorithms.
Exercises with solutions on summations, logarithms, factorials, induction, loop invariants, and recurrences.
Mathematical and strong induction, proving recursive and iterative algorithms with loop invariants, and four methods to solve recurrences.
Formal proofs for Chapter 4: division and subtraction recurrence formulas, Karatsuba identity, Euclid GCD, and Quickselect.
Formal proofs for Chapter 6: 0/1 knapsack recurrence, Pascal rule, and Longest Common Subsequence recurrence.
Chapter 4 summary: recurrence formulas, classic problems at a glance, and when to apply divide and conquer.
Appendix A summary: summation formulas, logarithms, factorials, induction, and recurrence methods.