6.4 Hamiltonian Cycle - Backtracking

  Рет қаралды 984,703

Abdul Bari

Abdul Bari

6 жыл бұрын

Hamiltonian Cycle using Backtracking
PATREON : www.patreon.com/bePatron?u=20...
Courses on Udemy
================
Java Programming
www.udemy.com/course/java-se-...
Data Structures using C and C++
www.udemy.com/course/datastru...
C++ Programming
www.udemy.com/course/cpp-deep...

Пікірлер: 435
@umangpatanwala8968
@umangpatanwala8968 6 ай бұрын
00:05 Hamiltonian cycle is a problem of finding a cycle that visits every vertex exactly once in a graph. 02:32 There are multiple Hamiltonian cycles possible in a graph 04:47 Hamiltonian cycles are not possible in a graph that contains articulation points and pendent vertices. 07:18 The Hamiltonian algorithm starts from vertex 1 and tries to form a valid path. 09:47 The algorithm checks for cycles in an array. 12:09 The method is to use the mod function to get the values in a specific pattern. 14:23 There are two possible Hamiltonian cycles in the given example 16:34 The Hamiltonian cycle algorithm works by recursively checking for cycles in a graph. hope this helps
@ryuukami__
@ryuukami__ 5 ай бұрын
so useful, thx a lot
@kethsiyal.d.j9487
@kethsiyal.d.j9487 Ай бұрын
👏🏻👏🏻👏🏻
@KevinAMathew
@KevinAMathew 5 жыл бұрын
I just realised my teacher watches your videos first and then teaches us😂🤦‍♂️
@vinothsiva7022
@vinothsiva7022 5 жыл бұрын
Same here😂😂
@ZapySolo
@ZapySolo 5 жыл бұрын
same here... our teacher even recommended us to watch his playlist
@KevinAMathew
@KevinAMathew 5 жыл бұрын
@@ZapySolo, your teacher is a good person.
@mahimsd7645
@mahimsd7645 5 жыл бұрын
All teachers who watch him and then teach are good learner's ...
@vaibhavsharma2467
@vaibhavsharma2467 4 жыл бұрын
lol same
@islstudentzone6573
@islstudentzone6573 6 жыл бұрын
Thank u so much Abdul Bari Sir..Your Channel is helping a lot to our CSE & IT Department :)
@sohamparmar4976
@sohamparmar4976 Жыл бұрын
Physics students too by learning classical algorithms and trying to find an efficient quantum algorithm for the same problem.
@msafadonus
@msafadonus 5 жыл бұрын
You Indians! You are amazing! Thank you for your help. Best Regrads from Turkey!
@hamdancodes7900
@hamdancodes7900 4 жыл бұрын
love from india
@SuperMaDBrothers
@SuperMaDBrothers 2 жыл бұрын
indians have no understanding of the material
@turtlepedia5149
@turtlepedia5149 2 жыл бұрын
@@SuperMaDBrothers which material ?
@MiddleEasternInAmerica
@MiddleEasternInAmerica 3 жыл бұрын
sending love and respect from EGYPT, thank you
@jayapandey5876
@jayapandey5876 6 жыл бұрын
sir, you are a mind blowing teacher. While studying any of your tutorials, i have got no doubts though i had no prior knowledge on the topics. Thank you for making these videos.
@hollyj8650
@hollyj8650 2 жыл бұрын
He is absolutely the clearest teacher on KZbin and other online sources. Thank you so much
@NaveenNaveen-vj9bo
@NaveenNaveen-vj9bo Жыл бұрын
Paying lakhs to college but still studying in KZbin 🤧
@AnjaliPandey-zm5bi
@AnjaliPandey-zm5bi Ай бұрын
Bcoz KZbin does not give you the degree
@yaseenmac3891
@yaseenmac3891 5 жыл бұрын
What a wonderful explanation. Keep going sir. Students needs teachers like you. -bangalore
@ShivAdiShakti108
@ShivAdiShakti108 5 жыл бұрын
Sir, You are Pride of Data Structures and Algorithm! A Big Thank You :)
@winsont.7403
@winsont.7403 5 жыл бұрын
Thank you very much ! Your video helped solving one of the major challenges to the project we are doing !
@sagarmishra6746
@sagarmishra6746 3 жыл бұрын
I just realised that this is the only way to learn my subject because our teacher never teaches us
@thedisciplinedguy
@thedisciplinedguy 4 жыл бұрын
Sir you explain these algorithms so perfectly. I really thank you for helping us in building a strong foundation of algorithms.
@adiShekhar7
@adiShekhar7 6 жыл бұрын
this is some epic stuff !! the way of explanation is just amazing !
@nohaahmed1948
@nohaahmed1948 2 жыл бұрын
Your algorithm playlist is really so helpful and pretty clear for complex ones, thanks a million sir.
@ishikawadhawan2218
@ishikawadhawan2218 6 ай бұрын
welcome
@pravinnaga3524
@pravinnaga3524 4 жыл бұрын
There’s a direct entry ticket reserved fr u in heaven fr making me to understand this concept fr my tomorrow algorithm exam 🙃
@user-bv6bi2sz8r
@user-bv6bi2sz8r 5 жыл бұрын
You rock, Sir. Complex concept is explained simply and clearly.
@ishikawadhawan2218
@ishikawadhawan2218 6 ай бұрын
u stand
@dimitarmitranov4436
@dimitarmitranov4436 4 жыл бұрын
Sir, I just want to say, that this is the first Indian scientist who teaches programming or mathematics with an accent I am willing to listen to. Great English, great explanation. Good Job!
@TusharSingh-un9wn
@TusharSingh-un9wn 2 жыл бұрын
I watch your videos first thing in the morning , as they say, To make your whole day better do something good after you wake up.
@masongarcia8936
@masongarcia8936 3 жыл бұрын
Thank you so much Sir! You do an amazing job at explaining these concepts. Much appreciation in the US!
@ishikawadhawan2218
@ishikawadhawan2218 6 ай бұрын
do u understand hindi
@kunalkheeva
@kunalkheeva Жыл бұрын
As always the best teacher on internet!!
@spartaninfo3273
@spartaninfo3273 7 ай бұрын
my teacher directly playing this playlist in class.
@pradipnitw
@pradipnitw 6 жыл бұрын
thanks for the algorithm... love your teaching style Sir..
@nathancarnelos
@nathancarnelos 3 жыл бұрын
watching this class from brazil, amazing teacher!
@srijani_mondal
@srijani_mondal Жыл бұрын
Just awesome sir.......can't express your help sir throughout my DAA journey....a lot of respect for you sir.....🙏🙏🙏🙏
@girishgirish4360
@girishgirish4360 6 ай бұрын
Hello how are you 😊
@emanhussien2325
@emanhussien2325 17 күн бұрын
Too much respect Teacher from Ethiopia ❤❤❤😊😊
@krishnachaitanya5050
@krishnachaitanya5050 3 жыл бұрын
Thankyou sir.With the help of your videos I am able to clear my daa paper almost.Whatever may be the result of it,your videos are always no1 for future reference too.🙏tqsm sir
@souravdutta7120
@souravdutta7120 5 жыл бұрын
Wow the best explanation anyone can give. thank you so much.
@sarveshnishad6117
@sarveshnishad6117 5 жыл бұрын
sir i always found everyone blessed you for what you are doing
@krishnasamandhayala2584
@krishnasamandhayala2584 6 жыл бұрын
great teaching skill. simply rocking sir,
@dnyaneshwaripatil5566
@dnyaneshwaripatil5566 4 жыл бұрын
Sir thank you. .your teaching was excellent. .what ever your concept logic is to good for student understanding. After watching your videos we are confident about the concept. .
@pudisasikar7996
@pudisasikar7996 3 жыл бұрын
You make complex things dead easy... Kudos Sir
@premprakash5932
@premprakash5932 6 жыл бұрын
Really, impressive. You explained perfectly.
@priyeshgautam6270
@priyeshgautam6270 6 жыл бұрын
i had given up on exams, until i saw your tutorials sir thankyou very much :)
@venkatanagaeswarkousikneri462
@venkatanagaeswarkousikneri462 5 жыл бұрын
Vidyaniketan students,hit the thumbs here to show thankfulness to sir at the last moment.
@vaibhawikumari119
@vaibhawikumari119 5 жыл бұрын
Thank you so much sir......it was the best explanation one could ever get
@sivaram9654
@sivaram9654 6 жыл бұрын
*simply,rocking sir*
@kunalwadhai777
@kunalwadhai777 Жыл бұрын
I had never saw the content like that and the way you explain the algorithm is like a boom fire....Yeah I realize and it is true that if a teacher is expertise in that perticular subject then no one subject is hard for student.
@shantichaturvedi3451
@shantichaturvedi3451 5 жыл бұрын
thank u so much sir.. you have outstandin way of teaching... finally i cleared on some other Daa topics by your lectures... once again thank you so much
@jigneshvaidya7472
@jigneshvaidya7472 5 жыл бұрын
It was really really helpful. Thank you so so so much. I loved your teaching techniques sir. Keep going.
@deekshajain5992
@deekshajain5992 5 жыл бұрын
Great job sir....!! Tqsm for making Daa so simple and easy to understand!
@sumanth1918
@sumanth1918 6 жыл бұрын
It was clear and clean,thanks a lot sir
@ashokepaul540
@ashokepaul540 7 ай бұрын
Thank you sir, 🙏🏼 you explained well as nobody else did yet..but it is a NP - complete problem!
@mohdshahalamrayeen4452
@mohdshahalamrayeen4452 5 жыл бұрын
keeping spreading knowledge and love sir.... Thanks for this video course.
@ahmedsoliman4015
@ahmedsoliman4015 6 жыл бұрын
Amazing explanation, Thank you!
@roronoazoro6153
@roronoazoro6153 4 жыл бұрын
Thank you very much. I don't think anyone could explain it in better words.
@naninani9812
@naninani9812 5 жыл бұрын
After watching your explanation there is no chance to dislike.... Tqq sir
@dreamscapeai7
@dreamscapeai7 5 жыл бұрын
So you were disliking before, without watching the video?
@piyushverma8125
@piyushverma8125 5 жыл бұрын
best explanation ever Gr8 work sir very nice and clearly explained..
@varijadubey2252
@varijadubey2252 5 жыл бұрын
This will help me in my semesters which is due tomorrow!!
@preeti97
@preeti97 6 жыл бұрын
Very helpful and good explanation 👍
@leonardogoyas4382
@leonardogoyas4382 3 жыл бұрын
Thanks, you carried my assignment :D
@muhammadirtaza5352
@muhammadirtaza5352 5 жыл бұрын
Sir thank you very much for making it understable and easy
@defnotdev1
@defnotdev1 2 жыл бұрын
I am preparing for the exam. Thank you so much for your lesson.
@EasyRangoliArts
@EasyRangoliArts 6 жыл бұрын
You are the saviour sir😊
@kshitijsinghchauhan211
@kshitijsinghchauhan211 5 жыл бұрын
U r truly a great guy sir, respect
@popastefan6542
@popastefan6542 5 жыл бұрын
I wish you would show us the code for every other problem like you do in this particular one. Very nice explanation!
@alirezabeitari2821
@alirezabeitari2821 6 жыл бұрын
Thank you so much for this video!
@malinakumar3837
@malinakumar3837 6 жыл бұрын
you are the best teacher i have ever seen
@nafshhhh
@nafshhhh 6 жыл бұрын
Sir ur videos Are very helpful for us....
@tompower4008
@tompower4008 3 жыл бұрын
Abdul, based on the information in Corman's book, Travel Salesman and H-Cycle problems are NP-Complete. 1:30 you mentioned it's an NP-hard problem
@user-jx4ue8ep3o
@user-jx4ue8ep3o Жыл бұрын
NPC is both NP-hard and NP problem
@cschandragiri
@cschandragiri 5 жыл бұрын
Abdul Sir, you are explaining stuff really well. Can you make videos on Dynamic Programming and how to tackle those problems in top-down and bottom up approach!
@sumitkumar-kh6vs
@sumitkumar-kh6vs 6 жыл бұрын
sir your teaching style is very nice i am underatanding easily keep it up sir
@nerdyus4561
@nerdyus4561 5 жыл бұрын
thanks. helped a lot. good work!
@tejashreedharmireddi2627
@tejashreedharmireddi2627 6 жыл бұрын
Thank you sir.Worth listening
@midhunbabu646
@midhunbabu646 4 жыл бұрын
This way of describing algorithm is very easy to understand
@mohmmadaltalli5180
@mohmmadaltalli5180 4 жыл бұрын
You are amazing! Thank you for your help. Best Regrads from syria
@chanakya7467
@chanakya7467 5 жыл бұрын
Thank you so much Sir your tutorials are really helpful
@sydharthydv
@sydharthydv 6 жыл бұрын
I wish I had a sir like this irl
@user-il5it9wh7d
@user-il5it9wh7d 8 ай бұрын
thank sooo much! explained so clear for us students.您配享太庙。
@sara.j5855
@sara.j5855 3 жыл бұрын
thank you very much for your help! this is amazing
@Isha_Sethi
@Isha_Sethi 5 жыл бұрын
Very Helpful. Thank you sir
@hardikdua08
@hardikdua08 5 жыл бұрын
Very Nicely Explained.Thanks a lot sir....
@shashwatagrawal8412
@shashwatagrawal8412 5 жыл бұрын
Thanks a lot abdul sir . Liked that you explained the written code as well. Pls try and do it for all problems .
@rajattalnikar6167
@rajattalnikar6167 5 жыл бұрын
Thank you Sir, Very nicely explained.
@ayaanshafiya4171
@ayaanshafiya4171 5 жыл бұрын
I want to be a teacher like you....your vedios help me a lot to teach DAA.☺
@mageshkumarkuppusamy1637
@mageshkumarkuppusamy1637 6 жыл бұрын
thank you for the great explanation
@dramitasharma
@dramitasharma 3 жыл бұрын
Thank you for such wonderful lecture
@alifruslan2728
@alifruslan2728 Жыл бұрын
Assalamua'likum, sir. Love from University of Dhaka. Your explanation is way too good Alhamdulillah, and really helpful as well.
@shubhamdesoria3805
@shubhamdesoria3805 6 жыл бұрын
thanks, sir it is really helpful
@ciclop3
@ciclop3 6 жыл бұрын
THANK YOU THANK YOU THANK YOU!!!!
@hamdancodes7900
@hamdancodes7900 4 жыл бұрын
Thank You Sir ... amazing teacher
@Mithilesh165
@Mithilesh165 5 жыл бұрын
Best ever explanation.....Thanks sir.....😇😇😇😇
@fearless.vishnoi
@fearless.vishnoi 5 жыл бұрын
i realised that our college teachers teach us after learning from these videos
@mohilchitransh8970
@mohilchitransh8970 2 жыл бұрын
Thank you sooo much sir .... Just made it very clear ❤❤❤❤❤❤
@sachinsrivathsa
@sachinsrivathsa Жыл бұрын
Thank you, thank you, thank you, thank you sir. you are a god sent
@nandhini3117
@nandhini3117 4 жыл бұрын
Its really very help full...thank u so much sir
@spotlight4091
@spotlight4091 5 жыл бұрын
Very nice explainations sir....This is first time studying,can't understand some topics in this subject...But ur class and explaination, give more clear and good pronounsation to understand...thankq so much sir...continue🙏
@paulnelapati3890
@paulnelapati3890 5 жыл бұрын
thank you, uni student from syd.
@nishantpall1747
@nishantpall1747 4 жыл бұрын
Sir , I'm having trouble at the if(j==k) line, is the conditional after it inside this condition ?
@ujwal9792
@ujwal9792 3 жыл бұрын
Thanks sir ur videos helped me a lot
@rajatkesharwani1939
@rajatkesharwani1939 Жыл бұрын
u are the teacher of our teacher's
@codingblaze4611
@codingblaze4611 4 жыл бұрын
Amazing explanation.
@pulkitgupta8575
@pulkitgupta8575 6 жыл бұрын
godly explanation
@JordanMetroidManiac
@JordanMetroidManiac 2 жыл бұрын
Very helpful. Thanks!
@harshpenshanwar5543
@harshpenshanwar5543 Жыл бұрын
great teaching sir👍👍👍
@jahanvibakshi6249
@jahanvibakshi6249 Жыл бұрын
Sir can you do a video on Edit Distance and Counting Inversion problems? I love your work and would really want to see these topics covered by you, you're simply magical
@ishikawadhawan2218
@ishikawadhawan2218 6 ай бұрын
doing in 9 mins
@garimasingh7031
@garimasingh7031 5 жыл бұрын
impressive sir,u'll reach heights sir
@mohammedadel8948
@mohammedadel8948 2 жыл бұрын
Thank you for your efforts
@aayush5474
@aayush5474 5 жыл бұрын
Why we took k
@amutha6579
@amutha6579 4 жыл бұрын
Amazing sir.thank you so so so much.
7 Branch and Bound Introduction
9:40
Abdul Bari
Рет қаралды 893 М.
6.3 Graph Coloring Problem - Backtracking
15:52
Abdul Bari
Рет қаралды 1,1 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 125 МЛН
7.3 Traveling Salesman Problem - Branch and Bound
24:42
Abdul Bari
Рет қаралды 1,7 МЛН
3.4 Huffman Coding - Greedy Method
17:44
Abdul Bari
Рет қаралды 1,5 МЛН
How Dijkstra's Algorithm Works
8:31
Spanning Tree
Рет қаралды 1,3 МЛН
MAGNUS vs HANS: INSANE CHESS
20:39
GothamChess
Рет қаралды 131 М.
Could the Terrarian Kill Minecraft Steve?
17:50
Throarbin
Рет қаралды 51 М.
6.1 N Queens Problem using Backtracking
13:41
Abdul Bari
Рет қаралды 1,9 МЛН
3.6 Dijkstra Algorithm - Single Source Shortest Path - Greedy Method
18:35
The Last Algorithms Course You'll Need by ThePrimeagen | Preview
16:44
Frontend Masters
Рет қаралды 310 М.
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27