CS 101 Lecture 17 - Recursive Structures and Methods II

Class Examples:

  1. Here is an applet that animates the Towers of Hanoi game.

    Click on Towers of Hanoi applet to show the example.

  2. This text-only version demonstrates the simple recursive solution.

    Click on Towers of Hanoi solution to show the example.

  3. Here is an applet that recursively computes the Fibonacci sequence.

    Click on Fibonacci to show the example.