HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Ismail-Maj

no profile record

comments

Ismail-Maj
·4 ปีที่แล้ว·discuss
It'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/2165

https://www.mathsisfun.com/games/towerofhanoi.html

https://www.geeksforgeeks.org/c-program-for-tower-of-hanoi/