← all animations

RECURSION CALL TREE

Each call spawns sub-calls (orange) that return values (green) back up the tree. The CALL STACK on the right tracks the chain of pending calls. Turn on memoisation (Fibonacci only) to see it stop recomputing the same work.



  
Calls: 0  ·  Result: –
calling returned cached base case