Prim's Algorithm is used to find a minimal spanning tree of a weighted graph. This videos shows you how to do it!
Пікірлер: 168
@abhichakladar52795 жыл бұрын
This was so confusing the way my prof explained in class, yet the way you explained it in this video I got it in 2 minutes, and now I have that part of the final down. Thank you.
@PanneerYuvaraja10 жыл бұрын
I have kept watching many videos on youtube , but this was the best !! Keep doing videos for all topics on datastructures Sir !! Keep up the good work ! Tomorrow is my semester and I am benefited very much by your video !
@maryamwahab13 жыл бұрын
cooool ........i dont even have to read this topic !!! it just got imprinted in my mind from ur lecture !!!!!!! thanks :)
@DeepIntoMyThoughts12 жыл бұрын
Great video! Always easier to understand when you get it visualized like this.
@starcalibre10 жыл бұрын
seriously the best algorithms videos on youtube. thanks for posting these.
@david_artist2 жыл бұрын
This video explains the algorithm very well!
@justaplanet5 жыл бұрын
I have a test in 50 minutes and was hella stressed cause this problem was giving me hella trouble. Thank you so much.
@and1fer9 жыл бұрын
very helpful, thank you.
@party_boy6912 жыл бұрын
Very easy to understand explanation. This should help me with my assignment question which is hard to grasp without mst knowledge. thank you.
@ChelinTutorials13 жыл бұрын
great teacher, great work! Thanks for the video. cheers from Argentina!
@knightjia977 жыл бұрын
best explanation of prims algorithm by far
@motorheadbanger907 жыл бұрын
good enough for me. better than lecture...and the man leading my lecture is the nephew of Kruskal who founded Kruskals algorithm, Clyde.
@alehunter159 жыл бұрын
god bless u dude
@mohamedabdul63311 ай бұрын
The best explanation ever!
@nimamaleki15958 жыл бұрын
Thanks buddy! Short and sweet! Useful.
@CeretPenyok10 жыл бұрын
Whoa. Thank you so much. I was looking for some from Google and get many forum and blog, but I still can't understand the method, and then I found this video. Thank you sir. :) You really helped me out. :D
@Allin-ri6tx9 жыл бұрын
very much help full and easiest way to explain
@yanksrock10005 жыл бұрын
Great simple explanation!
@umphgoodness12 жыл бұрын
Awesome, thank you! This really helped reinforce the concept in my head.
@TheNapolyon11 жыл бұрын
5 min. youtube video is better than a 50 min lecture :))
@spacebar96159 жыл бұрын
very good explaining and good example thank you!
@derrickmink12 жыл бұрын
you are such a great teacher, please do more videos
@Beastofcookies12 жыл бұрын
TEACH ME MASTER! No but seriously thanks. Your video was the first explanation I looked at and it made perfect sense. :)
@anthonydifede45108 жыл бұрын
Great video, easy to follow. Helped me in discrete math.
@felipegassen407010 жыл бұрын
Great explanation!! Thanks for your help Barry!
@Lnmul11 жыл бұрын
Much easier to understand than how my professor taught it. Thanks!
@GoodNewsForStrangers7 жыл бұрын
You're awesome Mr Brown!
@rebecCATz9 жыл бұрын
Thanks for the helpful explanations! Your videos are great!
@theamjolnir96415 жыл бұрын
Beautifully explained, thank you!
@lucky2kay11 жыл бұрын
can be used to work out the cheapest or the quickest way to touch all the vertices, depending on what the numerical values represent
7 жыл бұрын
Great! Thanks for the clear explanation.
@kornklown4205 жыл бұрын
Dude! I think I was in one of your classes (quite a few years back) at Sierra College! Great job on the video! Unfortunately the computer science world is saturated with videos of terrible quality that are difficult to understand. You made the concept of a spanning tree very simple to understand, thank you!
@AnanyaKirti10 жыл бұрын
really nice explanation.
@mehdibenguerrah54459 жыл бұрын
Thank you ! Very good explanation
@alexstapf12 жыл бұрын
Great explanation! NOW I understood it. Thank you.
@AbdullaFaraz10 жыл бұрын
that was really easy to understand. thanks so much
@omercak27466 жыл бұрын
Just awesome! Thank you
@MuchKnowledge10 жыл бұрын
Great video, thanks!
@nicchang12348 жыл бұрын
The video is great. Thank you so much
@wellingtonsouzamarques22211 жыл бұрын
Great class!!
@4751ludo6 жыл бұрын
Thank you really well explained
@TehFingergunz8 жыл бұрын
great video, thank you!
@AzRAELGoDlIkE8 жыл бұрын
Thank you ! This video explains it perfectly!
@ssmage7 жыл бұрын
Great video!
@ramazangul178910 жыл бұрын
Thank you million times
@yasmin_jsmn9 жыл бұрын
very simple explanation ,, keep going
@jamesvega72589 жыл бұрын
HI. Thanks for the guide man. It was very useful
@mariusc68829 жыл бұрын
Thank you! Very helpful!
@justodiaz18589 жыл бұрын
For MST, I believe you can add a small constant to all edges to break ties.
@codemurp32449 жыл бұрын
+Justo Diaz Wait...can you please explain how that works? Wouldn't the edges still end up tying because you're adding the same constant? Sorry
@justodiaz18589 жыл бұрын
+codeMurp :3 I should have said, add different extremely small numbers to each edge. This keeps edges that were originally distinct still distinct, but for edges that were originally the same are now distinct. You could add different fractional amounts by adding to each edge a fraction in increasing order. So take your first edge add .001, take the next edge add .002 etc. If fractions scare you, multiply all edges by 1000, then take your first edge and add 1, take the second and add 2, etc. This is assuming you don't have more than 1000 edges. If you do, than make your additions even smaller. The point is to make sure the additions are so small that they keep the original order, but still break ties.
@vijaygaonkar702011 жыл бұрын
I agree with Beastofcookies and Derrick Mink, please do more videos. Thanks a lot!
@nnzhdnv13 жыл бұрын
wow thanks, you explained this very very well! got it the first time round :)
@Vigi9 жыл бұрын
Good video! :)
@archiemorley16018 жыл бұрын
you are a boss, helped me out xx
@rianzamanx10 жыл бұрын
Thank you very much...
@TheYsrawat12 жыл бұрын
Thanks for the nice explanation. At 2:50 if we have chosen G-A which has same weight as H-F, then the result would have been different and it would not result in a minimal spanning tree. Please let me know in case I am missing something.
@jms28299 жыл бұрын
Very helpful. Thanks heaps
@LuaneCarolineAquinoCavalcanti9 жыл бұрын
thanks a lot, great video btw
@arvindk25688 жыл бұрын
Great video. Thx a lot
@willclegg113 жыл бұрын
Could have definitely done with you as my uni lecturer this year!
@AnkitSharma-tj4ub11 жыл бұрын
Thanks a lot! A really helpful video :)
@LeonardoRinaldiYautja11 жыл бұрын
Thank you very much, that helped me a lot!
@BananaCold8 жыл бұрын
This is god damn clear! Really appreciate this great video!
@SurbhiShah1613 жыл бұрын
amazing video!!! thanks a lot!
@cameraGHOST10 жыл бұрын
Thank you so much!
@otuyakbayev12 жыл бұрын
really helpful video! thank you a lot! appreciate this!
@PMD9012 жыл бұрын
it helps me so much thank you
@nickold44999 жыл бұрын
Thank you!
@sleekygee110 жыл бұрын
great tutorials ;)
@tahaabdullah42786 жыл бұрын
Great video, really helped me out. But I was wondering, what's the difference between Prim's algorithm and Dijkstra's algorithm. As I understand it, both figure out the minimum spanning trees for a given graph in about the same way.
@atlas60304 жыл бұрын
I thought this was Khan Academy! But anyways thank you :)
@henry1483512 жыл бұрын
thanks, your video is very nice
@rubalrai18 жыл бұрын
great video..👍
@samarth_blak11 жыл бұрын
Its better dan my lecturer's lecture... That person took 1 hour to explain this..!!!!
@tahamagdy49327 жыл бұрын
Thank you dear
@felfaj11 жыл бұрын
Thank you very useful
@kshitizadhikari38559 жыл бұрын
awesome vid thnks !! :)
@MWARIS113 жыл бұрын
Thank you sooo much you explained really well, Thank you :)
@riffstofly8 жыл бұрын
This is great. thanks
@aleksandrakapa5 жыл бұрын
excellent!!!
@rogisolorzano66916 жыл бұрын
well done
@rohitmanocha41679 жыл бұрын
thanks a lot SIR!!!
@RatusMax10 жыл бұрын
Lol had to write a code for this, but i didn't understand WHERE those weight numbers came from until i watched this. Thanks
@masbro1901 Жыл бұрын
thank you sir
@dinosaur50099 жыл бұрын
THANK YOU!
@HollyVanHart5 жыл бұрын
💖 Thanks for this! ✨ 😻 😍
@ayush11iitkgp12 жыл бұрын
thank you Sir...really helpfull..!! :)
@Graskian10 жыл бұрын
Amazing
@darinebouzar35758 жыл бұрын
very much clear, even a stupid will can understand, thx so much professor
@TheRoxas13th11 жыл бұрын
Nice! But i still confuse what this minimum spanning tree used for.
@paulmaurin114912 жыл бұрын
thank you
@bankarsatyajeet11 жыл бұрын
thanks a lot sir...........
@SolarMar7 жыл бұрын
Thank you!!!!!!
@NoCodeine7 жыл бұрын
cheers barry mate
@cpandit80310 жыл бұрын
Super thanks :)
@SameedUsmani477 жыл бұрын
awesome vedio
@TheKillx0ne8 жыл бұрын
legend. thanks a lot :)
@denebgarza10 жыл бұрын
You sound like Salman Khan.
7 жыл бұрын
almost
@jasminejia85405 жыл бұрын
agree!
@mickyor110710 жыл бұрын
thanks :D time to code for me xD this really helped me a lot :)
@AhmedThaking10 жыл бұрын
@benja303 I was thinking the same thing. But it is not Sal from Khans Academy