Solution Of Tower Of Hanoi Problem Using Recursion | FREE DSA Course in JAVA | Lecture 45

Solving tower of Hanoi problem | tower of Hanoi problem recursive solution | solution of tower of Hanoi problem in java | program to solve tower of Hanoi problem | Java program to solve tower of Hanoi problem In this lecture, we are going to solve a very interesting question known as tower of Hanoi problem. Let's first see what is a tower of Hanoi is problem? So tower of Hanoi is a game where we get three towers say A,B,C and we have 3 discs arranged in the tower A in such a way the largest disc is at the lowest position and smallest disc is at the top. Now the problem is that you have to arrange these disc in the same manner in the tower C in such a manner that it satisfy the following conditions:- 1. Only one disc can be moved at a time 2. A larger disc cannot be placed on a small disc So what's the solution? Here are a simple steps to do so in 7 steps as follows. A to C, A to B, C to B, A to C, B to A, B to C, A to C. Now the challenge is, we have to solve this problem using a java program. Now during the course of the lecture you will find that you can break this problem into three sub problems and which are actually our recurrence relationship. So let's start the lecture, understand the logic behind solving this problem and the program in java to solve the tower of Hanoi problem. Subscribe to our channel for regular updates on the dsa course and click on the bell icon to never miss an update from our dsa course. Data Structures and Algorithms Free Course (Learn DSA Without Paise) Playlist -    • Data Structures And Algorithms Full Course...   For more information, fill this form: https://forms.gle/8eiUmM92Fx563Aen9 or call us at 8884881203 Facebook:   / thetapacademy   Instagram:  / tapacademy_online   Linkedin:   / 73820805   Website: https://www.thetapacademy.com​ #dsa #dsacourse #java #dsainjava #javaprogramming #coding #coder #recursion #placement

Linear Search Algorithm In Java | FREE DSA Course in JAVA | Lecture 47
▶︎

Linear Search Algorithm In Java | FREE DSA Course in JAVA | Lecture 47

The Closest We’ve Come to a Theory of Everything
▶︎

The Closest We’ve Come to a Theory of Everything

How to compute frequency of all number from array in java || Shyam Sundar
▶︎

How to compute frequency of all number from array in java || Shyam Sundar

Towers of Hanoi: A Complete Recursive Visualization
▶︎

Towers of Hanoi: A Complete Recursive Visualization

Solution Of Josephus Problem Using Recursion | FREE DSA Course in JAVA | Lecture 37
▶︎

Solution Of Josephus Problem Using Recursion | FREE DSA Course in JAVA | Lecture 37

Tower of Hanoi in Java | Solving Towers of Hanoi Problem with Recursion | Great Learning
▶︎

Tower of Hanoi in Java | Solving Towers of Hanoi Problem with Recursion | Great Learning

Introduction to Towers of Hanoi
▶︎

Introduction to Towers of Hanoi

5 Simple Steps for Solving Any Recursive Problem
▶︎

5 Simple Steps for Solving Any Recursive Problem

Print All The Permutations Of A String Using Recursion | FREE DSA Course in JAVA | Lecture 41
▶︎

Print All The Permutations Of A String Using Recursion | FREE DSA Course in JAVA | Lecture 41

Binary Search Algorithm In Java | FREE DSA Course in JAVA | Lecture 48
▶︎

Binary Search Algorithm In Java | FREE DSA Course in JAVA | Lecture 48

Solve Subarray Problems Quickly With Sliding Window Technique | FREE DSA Course in JAVA | Lecture 79
▶︎

Solve Subarray Problems Quickly With Sliding Window Technique | FREE DSA Course in JAVA | Lecture 79

Towers of Hanoi (Recursive Algorithm)
▶︎

Towers of Hanoi (Recursive Algorithm)

Tracing of Recursive Calls in Tower of Hanoi
▶︎

Tracing of Recursive Calls in Tower of Hanoi

9. Towers of Hanoi -Recursion- Algorithmic Problem solving- #towersofhanoi, #recursion
▶︎

9. Towers of Hanoi -Recursion- Algorithmic Problem solving- #towersofhanoi, #recursion

Solution Of Subset Sum Problem Using Recursion | FREE DSA Course in JAVA | Lecture 43
▶︎

Solution Of Subset Sum Problem Using Recursion | FREE DSA Course in JAVA | Lecture 43

How To Rotate An Array In Java? | Array Rotation | FREE DSA Course in JAVA | Lecture 66
▶︎

How To Rotate An Array In Java? | Array Rotation | FREE DSA Course in JAVA | Lecture 66

Subsequence Of A Given String In Java Using Recursion | FREE DSA Course in JAVA | Lecture 39
▶︎

Subsequence Of A Given String In Java Using Recursion | FREE DSA Course in JAVA | Lecture 39

Tower of Hanoi Problem - Made Easy
▶︎

Tower of Hanoi Problem - Made Easy

Recursion in One Shot | 9 Best Problems
▶︎

Recursion in One Shot | 9 Best Problems

Introduction To Time Complexity for Algorithms | FREE DSA Course in JAVA | Lecture 2
▶︎

Introduction To Time Complexity for Algorithms | FREE DSA Course in JAVA | Lecture 2