in reply to Re: cannot follow hanoi subroutine
in thread cannot follow hanoi subroutine
##### I think I can follow up to here and understand why $n is 2./perl.hanoi1 HELLLLLOOOOOOOOOOOOO Move disk #1 from A to C. Move disk #2 from A to B.
##### This is where it lost me.. don't see how $n became 3 ?HELLLLLOOOOOOOOOOOOO Move disk #1 from C to B. Move disk #3 from A to C.
HELLLLLOOOOOOOOOOOOO Move disk #1 from B to A. Move disk #2 from B to C. HELLLLLOOOOOOOOOOOOO Move disk #1 from A to C.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: cannot follow hanoi subroutine
by GrandFather (Saint) on Nov 05, 2007 at 09:15 UTC | |
Re^3: cannot follow hanoi subroutine
by graq (Curate) on Nov 05, 2007 at 09:03 UTC | |
Re^3: cannot follow hanoi subroutine
by Anonymous Monk on Nov 05, 2007 at 09:10 UTC |