Tower of Hanoi | Recursion Problem | GeeksforGeeks
GeeksforGeeks GeeksforGeeks
697K subscribers
568,582 views
0

 Published On Jun 24, 2017

Tower of Hanoi - A famous mathematical puzzle where we have three rods (A, B, and C) and N disks.
The disks are all stacked on Rod A in decreasing value of diameter i.e., the smallest disk is placed on the top.

Let us see how to solve Tower of Hanoi problem with the help of a Recursive Solution.


đź’» Try to Solve the Problem first: https://www.geeksforgeeks.org/problem...

đź’» Source Code & Related Article: http://www.geeksforgeeks.org/c-progra...

-------------------------------------------------------------------------

🔴 DSA Course Playlist:    • DSA Course | Data Structures & Algori...  

🔴 What is Recursion:    • MASTERING RECURSION | Recursive Algor...  

🔴 C++ vs Java vs Python:    • C++ vs JAVA vs PYTHON | Which Program...  

🔴 How Much Maths in Needed for Programming:    • How Much MATHS is Needed for PROGRAMM...  

🔴 Roadmap To Master Recursion:    • Roadmap To Master Recursion? Roadmap ...  

-------------------------------------------------------------------------

đź“š Explore Our Courses: https://practice.geeksforgeeks.org/co...


đź“– Want to Learn more about Data Structures and Algorithms?
Check out our Data Structures and Algorithms - Self Paced Course Now!: https://www.geeksforgeeks.org/courses...

-------------------------------------------------------------------------

Follow us for more fun, knowledge, and resources:

💬 Twitter-   / geeksforgeeks  
🧑‍💼 LinkedIn-   / geeksforgeeks  
đź“· Instagram- https://www.instagram.com/geeks_for_g...
đź’Ś Telegram- https://t.me/s/geeksforgeeks_official

📱 Download GeeksforGeeks' Official App: https://geeksforgeeksapp.page.link/gf...


Related Queries:
DSA problems
Recursion Problem
how to solve tower of hanoi problem
tower of hanoi explanation
recursion interview question
recursion practice problem
what is tower of hanoi


#towerofhanoi #recursion #recursive #recursiveproblem #dsa #datastructuresandalgorithms #dsaproblems #mathematicalpuzzle #recursivesolution #stack #puzzle #gfg #geeksforgeeks #geeksforgeekspractice

show more

Share/Embed