Weakest calculator/pocket computer that can do Tower of Hanoi?

08122018, 01:46 AM
(This post was last modified: 08122018 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 HP25. Not having MOD really hurts. 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)