Problem I am just learning how to code in Ruby now with no prior experience. This is 3 towers of […]
Tag: tower-of-hanoi
Interactive Tower of Hanoi
Problem I created this program some time ago. It shows you how to solve tower of hanoi for n disks, […]
Tower of Hanoi move method
Problem So I have some code which solves the tower of hanoi problem. The code that I have written is […]
Towers of Hanoi in Haskell
Problem Of course the recursive version is trivial: hanoi n = solve n 1 2 3 solve 0 _ _ […]
Tower of Hanoi simulation
Problem I’ve just implemented a simulation of tower of hanoi in Java. Any suggestions are welcomed. Here’s my code: static […]