Induction, Correctness and Recurrences
Mathematical and strong induction, proving recursive and iterative algorithms with loop invariants, and four methods to solve recurrences.
Mathematical and strong induction, proving recursive and iterative algorithms with loop invariants, and four methods to solve recurrences.
Formal proofs for Chapter 1: Big-O rules, logarithm growth, linear pairwise product, and correctness and cost of searching.
Formal proofs for Chapter 2: correctness of sorting algorithms and the n log n comparison lower bound.