Recursive Python code for Tower of Hanoi works for up to 3 disks, but not more
Recursive Python code for Tower of Hanoi works for up to 3 disks, but not more Question: I am trying to implement Tower of Hanoi using recursion with my own approach. I don’t know if it is a valid solution at all. But it definitely works 1, 2, and 3 disks. In fact, given a …
Total answers: 1