04 Try it yourself Interactive
Step through factorial(4) one frame at a time. The stack grows downward, each frame says what it is waiting on, and a value appears in a frame the moment it is known. Then switch to fib(n) and watch one call chain turn into a branching tree. Nothing moves until you press Next.