Unit 5 · Data and algorithms

Recursion, lightly

See itExplore the model1 / 5

Boxes inside boxes

countdown(4) prints 4, then calls countdown(3), which opens a new box. First pick the base case, then step in until it stops and back out again.

Next unlocks when this is right.