Towers of Hanoi, continued
Explore the recursive method for solving the Towers of Hanoi puzzle by breaking it into subproblems. Learn how moving n disks involves solving for n-1 disks recursively, moving the largest disk, and then solving again. Understand why the minimum moves needed is 2^n - 1, and see how this mathematical pattern applies even for large disk counts.
We'll cover the following...
When you solved the Towers of Hanoi for three disks, you needed to expose the bottom disk, disk
Wait a minute—it looks like two disks moved in one step, violating the first rule. But they did not move in one step. You agreed that you can move disks
More to the point, by moving disks
Now, to finish up, you need to recursively solve the subproblem of moving disks
And—you knew this question is coming—is there anything special about which pegs you moved disks
Recursively solve the subproblem of moving disks
...