Pano Logic interview question

How to write a program to solve Hanoi tower?