Help for this page
print "Move disk $num from $from to $to\n";
movedisks( $num-1, $aux, $to, $from );
$numdisks = 3
movedisks( 3-1, A, C, B)
movedisks( 2-1, A, B, C)
print "Move disk 1 from A to B" for the base case
Results (273 votes). Check out past polls.