5.1.4. Using a Stack to Implement Recursion
Exercise 5.5

Hand-simulate the factorial and Fibonacci machines

Hand-simulate the factorial and Fibonacci machines, using some nontrivial input (requiring execution of at least one recursive call). Show the contents of the stack at each significant point in the execution.


Nobody's finished this exercise yet. You'll be the first!


There are no comments yet.

Authentication required

You must log in to post a comment.

Login