Weakest calculator/pocket computer that can do Tower of Hanoi?
|
08-12-2018, 01:46 AM
(This post was last modified: 08-12-2018 02:14 AM by Thomas Okken.)
Post: #5
|
|||
|
|||
RE: Weakest calculator/pocket computer that can do Tower of Hanoi?
A bit smarter algorithm, taking advantage of the fact that if you're not displaying the towers anyway, and only showing the sequence of moves, you don't have to keep track of where the discs are:
Code: 01▸LBL 0 Better, but still too long for the HP-25. Not having MOD really hurts. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)