Module 1 - Recursion
Module 1 - Recursion
Module 1 - Recursion
o Indirect Recursion
20
21
22
23
•You can only move one disk at a time (from any peg to any other peg), and
•You may not stack a smaller disk on top of a larger disk
Move 3 disks from peg 1 to peg 3: what are the (min) moves? Home Work
http://www.mathcs.emory.edu/~cheung/Courses/170/Syllabus/13/hanoi.html