Tower of Hanoi
Moves a stack of discs from one peg to another, one disc at a time, never putting a disc on a smaller one. To move a stack, move everything above its biggest disc out of the way, move the biggest, then move the rest back on top, each smaller stack moved the same way.
- discs moved
- 0
step 1 of 1
Examples