Tower of hanoi medium #array

by null @aswinsvijay

Take the Challenge

Simulate the solution for the Tower of Hanoi puzzle. Your type should take the number of rings as input an return an array of steps to move the rings from tower A to tower B using tower C as additional. Each entry in the array should be a pair of strings `[From, To]` which denotes ring being moved `From -> To`. [Wikipedia](https://en.wikipedia.org/wiki/Tower_of_Hanoi) [GeeksForGeeks](https://www.geeksforgeeks.org/c-program-for-tower-of-hanoi)
Back Share your Solutions Check out Solutions