By: |
|
1 |
2. q : Peg 3. p ![]() 4. a : ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 4 steps |
2 |
![]() 2. 0<n 3. ![]() 3. p ![]() 3. ![]() ![]() 3. ( ![]() ![]() 3. (HanoiSTD(n-1 disks; from: p; to: q; indexing from: a)/z,s. 3. (s is a Hanoi(n-1 disk) seq on a..z 3. (& s(a) = ( ![]() ![]() ![]() ![]() 3. (& s(z) = ( ![]() ![]() ![]() ![]() 4. p : Peg 5. q : Peg 6. p ![]() 7. a : ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 14 steps |
About:
![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() | ![]() |