← ~/visualizations
recursion-(factorial) #
A call stack visualization showing factorial(4) breaking down into recursive calls. Return values bubble back up.
canvasclick to interact
⏮◀◀▶▶STEP0.25x1xZOOM
t=0s
practical uses #
- 01.Teaching recursion concepts
- 02.Visualizing call stack behavior
- 03.Explaining base cases and recursive cases
- 04.Demonstrating stack frame creation
technical notes #
Vertical stack of function calls f(4) through f(0). Active frame highlighted. Return values shown on right side.
← derivative-(slope)big-o-complexity →