No video

L-4.9: Prim's Algorithm for Minimum Cost Spanning Tree | Prims vs Kruskal

  Рет қаралды 1,410,276

Gate Smashers

Gate Smashers

Күн бұрын

👉Subscribe to our new channel: / @varunainashots
👉Links for DAA Notes:
🔗File-1: rb.gy/2byrg
🧑‍🎓Contributed by: Junaid Gazi
🔗File-2:
🧑‍🎓Contributed by: Mannu Garg
In computer science, Prim's algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized. How Prims algorithm actually works and How it is different from Kruskal. All Explained with examples.
► Design and Analysis of algorithms (DAA) (Complete Playlist):
• Design and Analysis of...
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
► Operating System :
• Operating System (Comp...
►Database Management System:
• DBMS (Database Managem...
► Theory of Computation
• TOC(Theory of Computat...
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks (Complete Playlist):
• Computer Networks (Com...
►Computer Architecture (Complete Playlist):
• Computer Organization ...
►Structured Query Language (SQL):
• Structured Query Langu...
►Discrete Mathematics:
• Discrete Mathematics
►Compiler Design:
• Compiler Design (Compl...
►Number System:
• Number system
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Software Engineering:
• Software Engineering
►Data Structure:
• Data Structure
►Graph Theory:
• Graph Theory
►Programming in C:
• C Programming
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on KZbin: / gatesmashers
►Subscribe to our new channel: / @varunainashots
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmash...
► Follow us on Threads: www.threads.ne...
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com

Пікірлер: 508
@milanjain6295
@milanjain6295 3 жыл бұрын
Why don’t teachers in college teach like these people!!! Great teaching btw
@rishabhmanglani8286
@rishabhmanglani8286 3 жыл бұрын
Exactlyy
@princebaweja3936
@princebaweja3936 2 жыл бұрын
@milan jain He teaches in my College
@siddharthsinghh
@siddharthsinghh 2 жыл бұрын
Pagar kam milta hai
@ravish7010
@ravish7010 2 жыл бұрын
BCOS everyone play different roll 😌
@RB-js7hq
@RB-js7hq 2 жыл бұрын
They teach but our mindset be like: KZbin se pad lenge class me baate karte h...🙂
@rishitbhojak7073
@rishitbhojak7073 2 жыл бұрын
Crisp and Clear Explanation! My university professor took 3 days (6 lectures ) for this topic and sir aapne to 10 minutes mein zabardast concept clear kar diya!!! TYSM SIR
@rajnikharge8304
@rajnikharge8304 2 жыл бұрын
True
@dheerajnakra3904
@dheerajnakra3904 2 жыл бұрын
Dono teachings ke objectives me differnece hai..ek competiton ke lie padha rha hota hai ok ek ko algorithem develop krna and uska bigger case me use krna sikhana hota hai..student ki capability pe b depend krta hai.
@kabirkhan6516
@kabirkhan6516 Жыл бұрын
Where r u studying?
@user-nu2tw8bi7s
@user-nu2tw8bi7s 3 ай бұрын
college wale padhate bhi hain?
@magician9848
@magician9848 3 ай бұрын
Fire him and say him u r not capable saala loudi😂 bolo bhai uske paas
@shubhamaths
@shubhamaths 2 жыл бұрын
College teachers take 2 hours to make us understand this simple concept ...still students are not able to understand. You explained it just in 10 mins. Thank you so much ❤🧡🧡
@Adnan_19946
@Adnan_19946 Жыл бұрын
College masti karne jaate hai yt pe padhne aate hai isliye 😂
@Le_Parrikar
@Le_Parrikar 5 ай бұрын
@@Adnan_19946 Exactly
@hhjj683
@hhjj683 5 ай бұрын
You should quit engineering
@shubhamaths
@shubhamaths 5 ай бұрын
@@hhjj683 Thanks for the suggestion, this is my last sem. 🤣
@fact9270
@fact9270 2 ай бұрын
Beczz of focus
@Belgium0_0
@Belgium0_0 7 ай бұрын
Kal exam ha aj video dek Raha hu..😂😂😂😂
@rohitsamanta9935
@rohitsamanta9935 Ай бұрын
Same here 😅😂
@suhanisolanki31
@suhanisolanki31 Ай бұрын
Same. Here😂
@hafizkhalid8974
@hafizkhalid8974 Ай бұрын
Same here😂
@emanmughal4339
@emanmughal4339 Ай бұрын
Same 😅
@zarinabegum6066
@zarinabegum6066 Ай бұрын
Same here😂
@1bitmultiverse
@1bitmultiverse 2 жыл бұрын
Everyone wants a teacher like him but noone is willing to be a teacher like him #DoubleStandards 😂😂
@mixshots1801
@mixshots1801 Жыл бұрын
hats off to your passion to teach students in this very excellent interactive way, we are lucky to have u sir , take care of your health
@carljordan983
@carljordan983 10 ай бұрын
Strongly recommended for those who have doubt in this topic 😊
@sitcj
@sitcj Жыл бұрын
I'm in third semester right now but im following your videos since 1st semester. Actually you're my teacher. Thank you sir
@zarinabegum6066
@zarinabegum6066 Ай бұрын
You are lucky to have a teacher like him in ur clg
@PiyushK6337
@PiyushK6337 3 жыл бұрын
Watching the whole playlist, and making my notes. It helped me in internal and will surely help me in externals 🔥🔥
@pravardhan0308
@pravardhan0308 3 жыл бұрын
Share your notes @ Google drive
@sumitpriyadarshi676
@sumitpriyadarshi676 5 ай бұрын
Share kar do bro
@chinmayaSeema
@chinmayaSeema Жыл бұрын
After watching many of your DSA videos , I find all the DSA teachings, where complex things is being explained like simple mathematics of addtion; is uncomparable to any of the Top lectures of Top Univeristies of the world. You have made students life easy.
@uzumakisha256
@uzumakisha256 8 ай бұрын
00:06 Prim's algorithm is used to find the minimum cost spanning tree. 01:45 Prim's algorithm for minimum cost spanning tree 03:12 Choose the minimum cost edge connected to each vertex 04:36 The minimum cost spanning tree is being calculated using Prim's Algorithm. 05:46 Prims algorithm always constructs a connected minimum cost spanning tree 07:00 To create a minimum cost spanning tree, cycles should be avoided 07:59 Using Prim's algorithm, the minimum cost spanning tree is formed by connecting nodes with the least weights. 08:57 Prims Algorithm works by finding the minimum cost spanning tree Crafted by Merlin AI.
@divyanshusingh2243
@divyanshusingh2243 3 жыл бұрын
I visited more than 20 channel of data structure but I could not get the explanation . But finally I can say I m building my future from here 🙏🏻🙏🏻🙏🏻🙏🏻 thankuuuu soooo much Sir 🙏🏼🙏🏼🙏🏼🙏🏼❤️❤️❤️❤️✨✨✨✨✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️🙏🏻🙏🏻👍👍👍😊😊😊
@shubhambisht1300
@shubhambisht1300 2 жыл бұрын
To The Point! And Precise! I would like to say Sir you nailed the explanation, I would like to express my gratitude😊
@parinitanema
@parinitanema 3 жыл бұрын
I always had confusions in this topic, but you explained very well. Thank you so much sir.. :)
@tonypepper
@tonypepper 2 жыл бұрын
Sir , it's like God gave u a purpose. Purpose to help those in need of studies. Thank you sir. For putting in this kind of effort. Lemme tell u something sir. One day , something big and good will happen to you and would change your life.. 😌❤️. Plz keep posting videos..
@biophilic23
@biophilic23 3 жыл бұрын
Thank you so much Sir! I love you ❤ You are life saver
@fishkibits9679
@fishkibits9679 4 ай бұрын
0:53 p 2:42 appoach 2:50 step 1 start from any veryex 3:14 step2 usse connected vertex 3:28 minimum wt/cost wala option ( joh connection hai) choose Karo
@khanzadigurya5175
@khanzadigurya5175 2 жыл бұрын
I am very happy because tomorrow is my paper and because of this video I have clear all my doubts Thank you Sir❤
@ajcreations8554
@ajcreations8554 2 жыл бұрын
मैने आपकी केवल दो वीडियो देखी और मे आपका big fan हो गया हु .......
@subhashishbehera7415
@subhashishbehera7415 3 жыл бұрын
Thanks to this virus i am unable to understand properly in the class but then i discovered your channel and now iam able to understand all the important concept thanks to u 🙂😀
@preethivishwakarma4222
@preethivishwakarma4222 3 жыл бұрын
Such a wonderful unambigious explanation sir. Appreciate the hardwork 👍👍Plz keep making such videos. Thank you
@AyeshaKhan-de5le
@AyeshaKhan-de5le 3 жыл бұрын
Love ur way of teaching💜Lots of love from Pakistan 🇵🇰🇵🇰🇵🇰🇵🇰🇵🇰🇵🇰🇵🇰
@bangashkhan3929
@bangashkhan3929 3 жыл бұрын
Same preparing for my final exams
@MilanTak-er1rh
@MilanTak-er1rh 3 ай бұрын
Still pkmkb
@ankitprajapathiit
@ankitprajapathiit Жыл бұрын
sir! aapne bahut ache way se full DSA ko cover kiya hai. love ur work sir. bahut ache se topic sab clear ho gya hai mera. THANK YOU SO MUCH SIR.
@chhayasevale7326
@chhayasevale7326 8 ай бұрын
Thanks sir. Still helpful after 3 years. May god bless you and your family. You have helped many students!
@sanketsingh5555
@sanketsingh5555 2 жыл бұрын
I want teacher like you in my clg literally you're amazing sir 🙏🏻❤️
@Krushil2112
@Krushil2112 Жыл бұрын
" Subscribers bahot jaruri he " is my best part
@powerspan
@powerspan 3 жыл бұрын
Because of your sql classes im able to crack interview and got offer letter from tcs company thanks for everything 🙏🏻✌🏻
@GateSmashers
@GateSmashers 3 жыл бұрын
Excellent
@gannonaydin8204
@gannonaydin8204 3 жыл бұрын
i know I'm kinda randomly asking but does anybody know a good website to watch newly released movies online?
@gideonmarcus2847
@gideonmarcus2847 3 жыл бұрын
@Gannon Aydin I watch on Flixzone. You can find it on google :)
@charlescolby45
@charlescolby45 3 жыл бұрын
@Gideon Marcus Yea, I've been watching on FlixZone for months myself :D
@gannonaydin8204
@gannonaydin8204 3 жыл бұрын
@Gideon Marcus Thanks, signed up and it seems like a nice service =) Appreciate it!
@-07-RoushanAara
@-07-RoushanAara 27 күн бұрын
I can confidently watch ur videos even before 20 mins of exam 🙌 never doubting ur explanation ❤️
@amitkumarchoubey2003
@amitkumarchoubey2003 Жыл бұрын
सरस्वति नमस्तुभ्यं वरदे कामरूपिणि । विद्यारम्भं करिष्यामि सिद्धिर्भवतु मे सदा ॥ 🙏🙏🚩🚩🛕🛕🕉️🕉️😊😊🌞🌞🪔🪔💐💐🦚🦚⛳⛳💕💕📚📚📚📚🌷🌷🌹🌹📙📙📙📙🇮🇳🇮🇳👏💯👏💯🌸🌸🌿🌿⛳⛳🚩🚩
@codding32world50
@codding32world50 3 жыл бұрын
I am not first I am not Last But whenever I see Gate Smashers notification I click fast😃
@mayurkalsekar524
@mayurkalsekar524 3 жыл бұрын
Irshad
@iamnottech8918
@iamnottech8918 Жыл бұрын
Nice one
@himanshusharma2960
@himanshusharma2960 3 жыл бұрын
Sir ap pure din kaam kr k thak jate hoge... Rat ko BGMI khelo mere sath 😁😁😁😁 Jokes apart, you are doing a fabulous work sir, whenever i open youtube, i always open your channel, feels privileged. Thanks a lot sir.❤️❤️❤️❤️
@namansingh4684
@namansingh4684 Жыл бұрын
thank you very much for these videos bhaiya, these are truly a lifesaver. All of my college friends watch and love your videos. Your way of teaching makes concepts very easy and interesting.
@ayushiyadav1
@ayushiyadav1 3 ай бұрын
hehee College faculties mark attendence here...😂😂 Honestly sir my ADA, Software, OS, COA... all faculties watch your videos, makes notes and try to deliver content in class still fail to match your level..you're truly a gem. Savior for both students and faculties ♥😇😅
@vishnuyadav8433
@vishnuyadav8433 Жыл бұрын
Kya padhate hai sir aap maja aa jata hai pura dimak me baith jata hai और और मेरे कॉलेज के टीचर भी आपके नोट्स से पढ़ाते है । Thanks Varun sir .
@SaadKhan-gz6ef
@SaadKhan-gz6ef 2 жыл бұрын
Sir U are really amazing. Your teaching style is Best.
@aayushchauhan5528
@aayushchauhan5528 2 жыл бұрын
sir aap jasa koi nhi aap bhut aacha btate hoo
@epicextreme3963
@epicextreme3963 3 жыл бұрын
you have saved my internal exams tody there is my internal exam ia am watch your videos and scoring good marks thank you bro and i HAVE A REQUEST give the lectures on machine learning
@aayushchauhan5528
@aayushchauhan5528 2 жыл бұрын
i love your teaching method
@jaihindjaibharat1182
@jaihindjaibharat1182 5 ай бұрын
Great explanation bhai itna toh mere teacher ko bhi nhi pta hoga prim algo ke bare me 😅
@nallagondachandrika9605
@nallagondachandrika9605 2 жыл бұрын
Tq bro your videos are very helpful to me ur the best in teaching in a very simple way
@amankumarpandey2001
@amankumarpandey2001 2 жыл бұрын
Your teaching style and skills are best
@FarhanKhan-io3vt
@FarhanKhan-io3vt 3 жыл бұрын
ur so underrated sir i love your videos...
@divyanshverma9284
@divyanshverma9284 2 жыл бұрын
Sir, you are great sir, thanks for the help. Aapki wajah se 5th sem pass ho pa raha hai aur dua rahi to gate bhi pass ho jaega. Jai Shree Ram 🙏🏻.
@anuradhajoshi8688
@anuradhajoshi8688 3 жыл бұрын
Thank you so much for an easy explanation!
@blklyrics1559
@blklyrics1559 10 ай бұрын
.
@b_13_abhishekpatil17
@b_13_abhishekpatil17 3 жыл бұрын
Literally op content ❤
@asitgaikwad9294
@asitgaikwad9294 8 ай бұрын
saved my KT....thankful😉
@aliather2723
@aliather2723 Жыл бұрын
Thank you sir you are awesome teacher! You don't know what have you done for us. Thank so much!
@mohmmadmd9535
@mohmmadmd9535 3 күн бұрын
Your teaching skills mind blowing sir ❤ panga ho gya 😂
@ramankumar41
@ramankumar41 2 жыл бұрын
best explanation on this topic. !!!
@Yeh_Hai_Abhi
@Yeh_Hai_Abhi 3 ай бұрын
Best teacher 🫡
@user-ek8mr9oj1n
@user-ek8mr9oj1n Ай бұрын
Thank you so much sir... Kal mera paper tha aur bohat acha ho gaya... Thanks from Pakistan
@theflash34529
@theflash34529 8 ай бұрын
Superb sir I am watching this video before my exam
@Hafizhammasmalik
@Hafizhammasmalik Ай бұрын
Hats off for such a great teacher,really like his method of teaching,may ALLAH bless him🌟🌟🌟
@sameekshamishra6980
@sameekshamishra6980 2 жыл бұрын
The only teacher who deserve the wishes on teacher's day
@GamingParadise32
@GamingParadise32 Жыл бұрын
Thx brother u helped me in exams alot thx for the help u are giving to us Allah salamat rakhe hamesha apko
@jainamchheda
@jainamchheda 2 жыл бұрын
HAVE DSA UNIV EXAM ON THE NEXT DAY OF BOXING DAY AND TILL TODAY I MUST HAVE WATCHED MORE THAN 1O VIDEOS OF YOUR'S. THANKS A LOT SIR THEY ARE HELPING A LOT FOR MY EXAM PREPS!!!!🙇‍♂️🙇‍♂️🙇‍♂️🔥🔥🔥💙💙
@MuhammadZubair-gy4ql
@MuhammadZubair-gy4ql 3 жыл бұрын
thank you for explaining this concept beautifully
@nirbhaymaurya2931
@nirbhaymaurya2931 Жыл бұрын
Great teacher in CSE
@vaibhavdixit6005
@vaibhavdixit6005 3 жыл бұрын
Extremely helpful videos Please make more and more videos
@hafizmtouseefzafar2015
@hafizmtouseefzafar2015 2 жыл бұрын
jeundaaa reh Ustad.......... saddi ty OR kadha diti hai............. Moula Khush rakhyy........ Ummahhhhhhhhhhhhhhhhhhhhhhhhhh.......... OR ki to bhens ki ankh ab to ...........................
@sweetirai3383
@sweetirai3383 7 ай бұрын
Thank you sir you have explained very well❤
@aakashrao8052
@aakashrao8052 3 жыл бұрын
Love your explanation😍
@prasadmutnale773
@prasadmutnale773 3 жыл бұрын
Explanation is Ultimate 🔥🔥🔥 really helpful
@meesamilyas7705
@meesamilyas7705 5 ай бұрын
To much easy way of learning in this channal great work for the students thank you soo much
@pravithacp7120
@pravithacp7120 3 жыл бұрын
Thank you so much.... 🙏from kerala
@diptimayeeroypitam6653
@diptimayeeroypitam6653 2 жыл бұрын
Awesome sir ❤️
@its_ZASH
@its_ZASH 3 жыл бұрын
this video make me to like this .......thanks sir for this
@Farazchristian
@Farazchristian 6 ай бұрын
You are a great teacher ❤
@rameshsabar9744
@rameshsabar9744 Жыл бұрын
Mind blowing explanation.
@diyapatel4449
@diyapatel4449 2 жыл бұрын
amazing sirrrrrrrrrr!!! love all your vidoes. helpe me a lot during exams
@relax8147
@relax8147 3 жыл бұрын
Well done sir
@laibahassan4281
@laibahassan4281 Жыл бұрын
prso paper hai mera or mujhe ap ki vedios mili sir thank uuuuu so muchhhh from pakistan :)
@MuhammadUsman-of1mc
@MuhammadUsman-of1mc Жыл бұрын
😂
@himaniparekh380
@himaniparekh380 2 жыл бұрын
Panga ho gaya is another level 🤣🤣 Very very helpful ❤
@fullformkiduniya4353
@fullformkiduniya4353 2 жыл бұрын
Great teaching😊
@fullformkiduniya4353
@fullformkiduniya4353 2 жыл бұрын
Mathmatical induction pe vdo plz sir❤️
@indrajeetprajapati720
@indrajeetprajapati720 2 жыл бұрын
Thank you so much sir I will undersand very very well sir
@navjotsingh-ee9wm
@navjotsingh-ee9wm Жыл бұрын
Sir bohot bohot thank you. Itna achha aaj Tak nahin samajh aaya tha ye topic. 😊❤
@letsdoyoga7
@letsdoyoga7 3 ай бұрын
This is the best expiration of this algo in 9 min
@eeshikabiswas1696
@eeshikabiswas1696 3 жыл бұрын
amazing explanation. keep up the good work. Do you have a video uploaded on your channel for prims algo code?
@Doityourself567
@Doityourself567 3 жыл бұрын
koi bhe topic ho sb sa phle mare ya dua hoti ha kae ya banda ml jye or agr ml jata ha tou bs sakoon hota ha kae ya topic tou ho gaya
@sriragunathvenkatramakrish2405
@sriragunathvenkatramakrish2405 3 ай бұрын
Was very helpful in understanding the concept !
@amishachaudhary5688
@amishachaudhary5688 2 жыл бұрын
Thank you so much sir 🙏🙏
@rishikabhati4383
@rishikabhati4383 2 жыл бұрын
Dil Se Thank You Sir Ji :)
@ssss-jd9cl
@ssss-jd9cl 3 жыл бұрын
Please make video on time complexity analysis of algorithms
@shloksuman8164
@shloksuman8164 2 жыл бұрын
thank you sir... kal exam hai ..isilye binge watch kr raha lectures discrete maths ke ... bohot acche se explain kre hain aapne... thank you so much sir
@tukaramthange9784
@tukaramthange9784 Жыл бұрын
Your all videos are very simple and clear
@nafisarkar3587
@nafisarkar3587 2 жыл бұрын
Sir Ji you are the best!
@Gamingworld14874
@Gamingworld14874 3 ай бұрын
Well Explanation
@sarthakshah1404
@sarthakshah1404 Жыл бұрын
Tha k you so much teachers like you is a the need of the hour in our country
@Ibrahimosman786
@Ibrahimosman786 8 ай бұрын
brother ur teaching skills are awesome ! please keep posting!😇
@syedgaming2644
@syedgaming2644 2 жыл бұрын
mashAllah amazing content buht inteluctual hn aap
@heybuddy_JAI_SHREE_RAM
@heybuddy_JAI_SHREE_RAM Жыл бұрын
SIR OP intro subscriber bhut zroori h😂😁
@user-nw5ds2nr5w
@user-nw5ds2nr5w 8 ай бұрын
By the way, our teacher has given this link in university.
@Farazchristian
@Farazchristian 6 ай бұрын
God be with you always
@Solojyoti
@Solojyoti 2 жыл бұрын
Thank you very much very clear explanation 🙏🙏🙏💐💐
@dkbagdi
@dkbagdi Жыл бұрын
i love it when you say subscriber bhot jaruri hai
@pranayghosh7912
@pranayghosh7912 3 жыл бұрын
sir why you are not consider key value of vertices for example key value of the source vertex should be 0 or other vertices is infinite
@queriousmaryum74
@queriousmaryum74 2 жыл бұрын
Sir ap ky liya no words
@poojachauhan2709
@poojachauhan2709 3 жыл бұрын
Excellent👍
@dheerajsaini1389
@dheerajsaini1389 Жыл бұрын
Well explained in less time sir ❤️🙏
@R.C_anime_edits
@R.C_anime_edits 5 ай бұрын
You truly are a lifesaver sir ❤
L-4.10: Dijkstra's Algorithm - Single Source Shortest Path - Greedy Method
15:49
L-4.8: Kruskal Algorithm for Minimum Spanning Tree in Hindi | Algorithm
11:17
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 11 МЛН
Magic? 😨
00:14
Andrey Grechka
Рет қаралды 15 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 18 МЛН
3.5 Prims and Kruskals Algorithms - Greedy Method
20:12
Abdul Bari
Рет қаралды 2,7 МЛН
Dijkstra’s - Shortest Path Algorithm (SPT)- Animation
2:01
Tutorial Horizon
Рет қаралды 29 М.
6.4 Minimum Spanning Tree | Properties of MST | Data Structures Tutorials
15:58
Jenny's Lectures CS IT
Рет қаралды 621 М.
Prim's Algorithm
7:18
Lalitha Natraj
Рет қаралды 571 М.
L-4.7: What is Spanning Tree with Examples in Hindi | Algorithm
7:12
Gate Smashers
Рет қаралды 927 М.
3.6 Dijkstra Algorithm - Single Source Shortest Path - Greedy Method
18:35
6.5 Prim's Algorithm for Minimum Spanning Tree | Data Structures Tutorials
10:22
Jenny's Lectures CS IT
Рет қаралды 1,1 МЛН
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 11 МЛН