If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Move three disks in Towers of Hanoi

Problem

We've set up a Towers of Hanoi below, and want you to move the three disks, in three steps.
In this first step, move the top two disks to the spare peg "C". You can move a disk by clicking it, dragging it over to the desired peg, and releasing it.