1. Introduction

2. Asymptotic Notation

Note: See ‣ for rigorous treatment.

3. D&C Algorithms

4. Master Method

Untitled

Note: This is a special case of Akra-Bazzi; see‣.

Note: This is a special case of Akra-Bazzi; see‣.

Recursion Trees

Recursion trees give a nice visual intuition into what’s going on with standard D&C recurrences.

From Algorithms (Erickson; 2019), this picture helps build intuition about how to calculate $T(n)$ , which is the sum of all the values in each node of this recursion tree!

From Algorithms (Erickson; 2019), this picture helps build intuition about how to calculate $T(n)$ , which is the sum of all the values in each node of this recursion tree!

$T(n) = rT\left(\frac{n}{c}\right) + f(n)$ gives the D&C recurrence (i.e., $r=a$, $c =b$ when compared to Roughgarden’s formulation above; $d$ from above is the exponent on the bound for the non-recursive work done, i.e., $O(f(n)) = O(n^d)$).