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 !
@justaplanet5 жыл бұрын
I have a test in 50 minutes and was hella stressed cause this problem was giving me hella trouble. Thank you so much.
@motorheadbanger907 жыл бұрын
good enough for me. better than lecture...and the man leading my lecture is the nephew of Kruskal who founded Kruskals algorithm, Clyde.
@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
@kornklown4206 жыл бұрын
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!
@starcalibre10 жыл бұрын
seriously the best algorithms videos on youtube. thanks for posting these.
@DeepIntoMyThoughts12 жыл бұрын
Great video! Always easier to understand when you get it visualized like this.
@knightjia977 жыл бұрын
best explanation of prims algorithm by far
@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.
@maryamwahab13 жыл бұрын
cooool ........i dont even have to read this topic !!! it just got imprinted in my mind from ur lecture !!!!!!! thanks :)
@ChelinTutorials13 жыл бұрын
great teacher, great work! Thanks for the video. cheers from Argentina!
@nimamaleki15959 жыл бұрын
Thanks buddy! Short and sweet! Useful.
@rebecCATz10 жыл бұрын
Thanks for the helpful explanations! Your videos are great!
@Beastofcookies12 жыл бұрын
TEACH ME MASTER! No but seriously thanks. Your video was the first explanation I looked at and it made perfect sense. :)
@derrickmink12 жыл бұрын
you are such a great teacher, please do more videos
@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
@and1fer10 жыл бұрын
very helpful, thank you.
@david_artist2 жыл бұрын
This video explains the algorithm very well!
@SerTony169 жыл бұрын
Great video, easy to follow. Helped me in discrete math.
@umphgoodness12 жыл бұрын
Awesome, thank you! This really helped reinforce the concept in my head.
@felipegassen407010 жыл бұрын
Great explanation!! Thanks for your help Barry!
@alehunter159 жыл бұрын
god bless u dude
@devkodar303Ай бұрын
thank u for explaining this much easier!
@mohamedabdul633 Жыл бұрын
The best explanation ever!
@TheNapolyon11 жыл бұрын
5 min. youtube video is better than a 50 min lecture :))
@AbdullaFaraz10 жыл бұрын
that was really easy to understand. thanks so much
@Lnmul12 жыл бұрын
Much easier to understand than how my professor taught it. Thanks!
@yanksrock10005 жыл бұрын
Great simple explanation!
@theamjolnir96416 жыл бұрын
Beautifully explained, thank you!
@Allin-ri6tx9 жыл бұрын
very much help full and easiest way to explain
@spacebar96159 жыл бұрын
very good explaining and good example thank you!
@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.
7 жыл бұрын
Great! Thanks for the clear explanation.
@mehdibenguerrah54459 жыл бұрын
Thank you ! Very good explanation
@atlas60304 жыл бұрын
I thought this was Khan Academy! But anyways thank you :)
@tahaabdullah42787 жыл бұрын
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.
@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.
@alexstapf13 жыл бұрын
Great explanation! NOW I understood it. Thank you.
@AnanyaKirti10 жыл бұрын
really nice explanation.
@nicchang12349 жыл бұрын
The video is great. Thank you so much
@jamesvega72589 жыл бұрын
HI. Thanks for the guide man. It was very useful
@AzRAELGoDlIkE9 жыл бұрын
Thank you ! This video explains it perfectly!
@Vigi9 жыл бұрын
Good video! :)
@vijaygaonkar702012 жыл бұрын
I agree with Beastofcookies and Derrick Mink, please do more videos. Thanks a lot!
@shrikantbang16929 жыл бұрын
Great video !
@willclegg113 жыл бұрын
Could have definitely done with you as my uni lecturer this year!
@MuchKnowledge10 жыл бұрын
Great video, thanks!
@nnzhdnv13 жыл бұрын
wow thanks, you explained this very very well! got it the first time round :)
@omercak27467 жыл бұрын
Just awesome! Thank you
@archiemorley16018 жыл бұрын
you are a boss, helped me out xx
@4751ludo6 жыл бұрын
Thank you really well explained
@yasmin_jsmn10 жыл бұрын
very simple explanation ,, keep going
@TehFingergunz8 жыл бұрын
great video, thank you!
@wellingtonsouzamarques22211 жыл бұрын
Great class!!
@LeonardoRinaldiYautja11 жыл бұрын
Thank you very much, that helped me a lot!
@rianzamanx10 жыл бұрын
Thank you very much...
@ramazangul178910 жыл бұрын
Thank you million times
@LuaneCarolineAquinoCavalcanti9 жыл бұрын
thanks a lot, great video btw
@jms28299 жыл бұрын
Very helpful. Thanks heaps
@arvindk25689 жыл бұрын
Great video. Thx a lot
@hardikanand61532 жыл бұрын
What is the differnce between minimum spanning tree and a minimmal spanning tree of a graph?
@AbhishekGhosh18058 жыл бұрын
Would you not pick H going to E directly (weight: 4), instead of going from H => F => E =>Total Weight: 7 ?
@thetubeingtubster938 жыл бұрын
great presentation. my professor says to start with the one with the most degrees. Does it matter where to start?
@otuyakbayev12 жыл бұрын
really helpful video! thank you a lot! appreciate this!
@igedemahendradarmawiguna955811 жыл бұрын
I am wondering, what software do you use for explaining this... seem interesting...
@AnkitSharma-tj4ub11 жыл бұрын
Thanks a lot! A really helpful video :)
@rubalrai18 жыл бұрын
great video..👍
@sleekygee111 жыл бұрын
great tutorials ;)
@TheRoxas13th11 жыл бұрын
Nice! But i still confuse what this minimum spanning tree used for.
@cameraGHOST10 жыл бұрын
Thank you so much!
@AhmedThaking10 жыл бұрын
@benja303 I was thinking the same thing. But it is not Sal from Khans Academy
@SurbhiShah1613 жыл бұрын
amazing video!!! thanks a lot!
@queenofunderland10 жыл бұрын
hi mr. brown, when we write Java Codes regarding the insertion of an edge of min. weight AB, then in the "main menu" method , we can write: for (i=0;i< G.length; i ++){ if (AdjacentMatrix G[i] == 1) col[i]= true; enter the edge AB to the list of visited vertices } , right?
@PMD9013 жыл бұрын
it helps me so much thank you
@henry1483512 жыл бұрын
thanks, your video is very nice
@siyuanliu45819 жыл бұрын
The video is great! BTW, how do you draw all those things? What software are you using?
@profbbrown9 жыл бұрын
+Shawn Liu At the time I was using a Wacom Cintiq tablet with Autodesk's Sketchbook Express. If I were to re-make the video today, I'd use an iPad with GoodNotes.
@kshitizadhikari38559 жыл бұрын
awesome vid thnks !! :)
@BananaCold9 жыл бұрын
This is god damn clear! Really appreciate this great video!
@nickold449910 жыл бұрын
Thank you!
@engmfouda12 жыл бұрын
How can we prove the correctness and the termination of this algorithm ?
@HollyVanHart5 жыл бұрын
💖 Thanks for this! ✨ 😻 😍
@WernAncheta9 жыл бұрын
Hi Barry, thanks a lot for this video. You mentioned at the later part of the video that we would always end up with the minimal weight of 22, but when I tried solving it I got 24 instead. Am I doing something wrong or is it normal to get other values aside from 22.
@riffninja8 жыл бұрын
This is great. thanks
@hanselgunawan115111 жыл бұрын
GOD BLESS YOU!
@rohitmanocha41679 жыл бұрын
thanks a lot SIR!!!
@steeeeeven1112 жыл бұрын
Thank you, very helpful!
@tahamagdy49327 жыл бұрын
Thank you dear
@samarth_blak11 жыл бұрын
Its better dan my lecturer's lecture... That person took 1 hour to explain this..!!!!
@MWARIS113 жыл бұрын
Thank you sooo much you explained really well, Thank you :)
@Angel-y5u8b9 жыл бұрын
What if you are given some random dots with an (x, y) location, any idea of how to create the weighted graph to then use this algorithm? I thought about connecting everything to everything with a weight to create the graph en then use the algorithm but I'm thinking it would make it way slower, any thoughts/suggestions?
@felfaj11 жыл бұрын
Thank you very useful
@mickyor110711 жыл бұрын
thanks :D time to code for me xD this really helped me a lot :)
@ayush11iitkgp12 жыл бұрын
thank you Sir...really helpfull..!! :)
@thetubeingtubster938 жыл бұрын
and fir the maximum would you do the same thing but look for the maximum instead ?
@fraxmans11 жыл бұрын
I know people won't add the edge between G and F, but how to make computer to avoid adding it?
@aleksandrakapa6 жыл бұрын
excellent!!!
@masbro1901 Жыл бұрын
thank you sir
@education53939 жыл бұрын
if you chose to go to A from G when you had the tie the MSP would be wrong, there has to be some balancing you are omitting