Skip to content
All tags

#recurrence

1 posts

Stanford CS161 Lecture 3: Reading a Recursion Tree Through the Master Theorem

For T(n)=aT(n/b)+O(n^d), the central comparison is branching growth a versus per-problem shrinkage b^d. Equality makes every level equally heavy, a<b^d makes the root dominate, and a>b^d makes the leaves dominate; outside the template, use substitution.