Plays from YouTube. Watch on YouTube
Where do logarithmic, n log n, quadratic and exponential runtime bounds come from?
Meet How to Solve Runtime Recurrences: an animated exploration of mathematical recursion and its proof techniques.
We start with repeated expansion and a direct sum of recursive costs.
From there, we analyze balanced, leaf-dominated and root-dominated recursion trees.
Then we check Master Theorem conditions, floors, constants and tight asymptotic bounds.
The big idea: sound recursive reasoning makes the smaller dependencies and the combining argument explicit.
Computer science and mathematics explained visually, one worked example at a time.