5.15. Discussion QuestionsΒΆ

  1. Draw a call stack for the Tower of Hanoi problem. Assume that you start with a stack of three disks.

  2. Using the recursive rules as described, draw a Sierpinski triangle using paper and pencil.

  3. Using the dynamic programming algorithm for making change, find the smallest number of coins that you can use to make 33 cents in change. In addition to the usual coins assume that you have an 8 cent coin.

You have attempted of activities on this page