Showing Posts From

Base case

Recursion I: Base Cases & the Call Stack

Recursion I: Base Cases & the Call Stack

Week 8 notes: recursion felt like magic until I actually pictured the call stack. Writing correct base cases, trusting the recursive call, and reading recurrences.