Top "Towers-of-hanoi" questions

A simple puzzle involving moving discs between rods.

Tower of Hanoi: Recursive Algorithm

Although I have no problem whatsoever understanding recursion, I can't seem to wrap my head around the recursive solution to …

recursion towers-of-hanoi
Towers of Hanoi

I am working on an exercise in a book which asks us to solve the Towers of Hanoi problem using …

c++ recursion towers-of-hanoi
Towers of Hanoi Python - understanding recursion

I'm completely new to Python and I am currently going over a tutorial about The Towers of Hanoi and recursion. …

python algorithm recursion towers-of-hanoi
Tower of Hanoi C++(using recursion)

I wrote the following code as a practice exercise. I'm getting incorrect output when I print the destination stack. Can …

c++ recursion stack towers-of-hanoi
Solving the Tower of Hanoi by using a good state space and then a search tree

I want to solve the "Towers of Hanoi" problem by using a good "state space". Using an appropriate state space …

artificial-intelligence towers-of-hanoi
How does this iterative Tower of Hanoi work? C

Possible Duplicate: How does this work? Weird Towers of Hanoi Solution While surfing Google, i found this interesting solution to …

c iteration towers-of-hanoi
How does recursive algorithm work for Towers of Hanoi?

This is code from a book I have explaining recursion. The problem is that I don't understand the steps taken …

javascript recursion towers-of-hanoi
Solving Towers of Hanoi in C# using recursion

I'm facing the Towers of Hanoi problem, I read the concept and the recursive way of solving it from wikipedia, …

c# recursion towers-of-hanoi
Towers of Hanoi puzzle (prolog)

every one know the famous hanoi prolog and you can find it HERE and its great but when i write …

prolog towers-of-hanoi
How to get the actual integer value from an array list

I am using an ArrayList of ArrayLists for a data structure to play a game of towers of hanoi. The …

java arraylist towers-of-hanoi