By: |
CoHanoiSTD(n disks; from: p; to: q; indexing from: a) Co* ![]() Coif n= ![]() ![]() ![]() Coelse HanoiSTD(n-1 disks; from: p; to: otherPeg(p; q); indexing from: a)/m,s1. Coelse HanoiSTD(n-1 disks; from: otherPeg(p; q); to: q; indexing from: m+1) Coelse /z,s2. <z,HanoiHelper(n; s1; ![]() ![]() |
1 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 8 steps |
About:
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |