Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Pratap Singh

http://en.wikipedia.org/wiki/Tower_of_Hanoi


12 posted on 02/17/2013 9:22:27 AM PST by Jack Hydrazine (It's the end of the world as we know it and I feel fine!)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Jack Hydrazine

Note this guy seems to have solved the “Four Peg” version:

http://en.wikipedia.org/wiki/Tower_of_Hanoi#With_four_pegs_and_beyond


22 posted on 02/17/2013 10:49:24 AM PST by DuncanWaring (The Lord uses the good ones; the bad ones use the Lord.)
[ Post Reply | Private Reply | To 12 | View Replies ]

To: Jack Hydrazine

I can solve the Tower of Hanoi problem in one move. A B-52 airstrike.


24 posted on 02/17/2013 11:01:51 AM PST by Hillarys Gate Cult (Liberals make unrealistic demands on reality and reality doesn't oblige them.)
[ Post Reply | Private Reply | To 12 | View Replies ]

To: Jack Hydrazine
Although the three-peg version has a simple recursive solution as outlined above, the optimal solution for the Tower of Hanoi problem with four pegs (called Reve's puzzle), let alone more pegs, is still an open problem. This is a good example of how a simple, solvable problem can be made dramatically more difficult by slightly loosening one of the problem constraints.

The fact that the problem with four or more pegs is an open problem does not imply that no algorithm exists for finding (all of) the optimal solutions.

38 posted on 02/17/2013 5:35:12 PM PST by Lancey Howard
[ Post Reply | Private Reply | To 12 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson