Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Recursion: the Towers of Hanoi problem

by apotheon (Deacon)
on Oct 19, 2004 at 02:14 UTC ( #400388=note: print w/ replies, xml ) Need Help??

in reply to Recursion: The Towers of Hanoi problem

Did I miss the part where you told us what the criteria are for "finishing" the puzzle?

- apotheon
CopyWrite Chad Perrin

Comment on Re: Recursion: the Towers of Hanoi problem
Replies are listed 'Best First'.
Re^2: Recursion: the Towers of Hanoi problem
by Theo (Priest) on Oct 19, 2004 at 15:00 UTC
    When all of the disks are on a different peg than they started on, size ordered smallest to largest, top to bottom. An extra "twist" is to require them to end up on a specific peg.

    (so many nodes and so little time ... )

      Ah! Thank you.

      I'd seen this puzzle before (perhaps even in a CompSci course, and/or in a book about programming), but frankly didn't recall its conditions. I needed a memory refresher.

      - apotheon
      CopyWrite Chad Perrin

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400388]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-11-29 02:06 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls