Ismail-Maj·4 jaar geleden·discussIt's not a LeetCode problem but I'd be impressed if someone can come up with the 4-liner recursive solution for the Tower of Hanoi problem.https://cses.fi/problemset/task/2165https://www.mathsisfun.com/games/towerofhanoi.htmlhttps://www.geeksforgeeks.org/c-program-for-tower-of-hanoi/
https://cses.fi/problemset/task/2165
https://www.mathsisfun.com/games/towerofhanoi.html
https://www.geeksforgeeks.org/c-program-for-tower-of-hanoi/