Let's continue the habit of commenting “understood” if you got the entire video. Please give it a like too, you don't 😞 Do follow me on Instagram: striver_79
**IMPORTANT** POINTS FOR MST: 1-> If each edge has a distinct weight then there will be only one & unique MST. 2-> A complete undirected graph can have n^(n-2) number of Spanning Trees. For example : Consider a triangle which have 3 vertices and 3 edges so n=3 || 3^(3-2) => 3. Hence , it would have 3 spanning trees. 3-> From a Complete graph by removing max(e-n+1) edges, we can construct a Spanning Tree. Hope it helps!!! 😊
Striver, I dont usually have the habit of commenting on videos, but when I do, it only happens when I appreciate the content a lot. Thanks for this amazing contribution to all the novice programmers for whom graph 'WAS' a tough data structure :)
you missed a bit 1) n nodes -| -| -| 2) n-1 edges | | | 3) all connected | ===> tree | ====> spanning tree | ====> minimum spanning tree 4) no cycles -| | | | | 5) subset of a graph -| | | 6) takes the minimum cost -|
"Find the city with the smallest number of neighbors in a threshold distance" Could you please cover this question as it was mentioned in your sheet,just after floydd warshall algo
Hi Striver, Great Work, You are putting perfectionism and great dedication in your videos, Can you make some videos on high level SYSTEM DESIGN ? Can you make a plan of creating System Design Sheet, your DSA sheet is helpful.
i will be starting with cp so can you tell if there's anything like making notes in this like as in things i learn for cp Sorry,i know it's a stupid question but i will be joining clg so:p
Let's continue the habit of commenting “understood” if you got the entire video. Please give it a like too, you don't 😞
Do follow me on Instagram: striver_79
Understood
**IMPORTANT** POINTS FOR MST:
1-> If each edge has a distinct weight then there will be only one & unique MST.
2-> A complete undirected graph can have n^(n-2) number of Spanning Trees. For example : Consider a triangle which have 3 vertices and 3 edges so n=3 || 3^(3-2) => 3. Hence , it would have 3 spanning trees.
3-> From a Complete graph by removing max(e-n+1) edges, we can construct a Spanning Tree.
Hope it helps!!! 😊
Striver, I dont usually have the habit of commenting on videos, but when I do, it only happens when I appreciate the content a lot. Thanks for this amazing contribution to all the novice programmers for whom graph 'WAS' a tough data structure :)
Same here ❤
Understood! From lecture - 1 to 43 ✅
Knse year m ho
This is the best and the most concise explanation of MST. Loved it ❤
The way you teach makes me feel every topic is easier✨Thank you striver bhaiyya for making DSA easier for us!
Thank You So Much for this wonderful video.........🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
you missed a bit
1) n nodes -| -| -|
2) n-1 edges | | |
3) all connected | ===> tree | ====> spanning tree | ====> minimum spanning tree
4) no cycles -| | |
| |
5) subset of a graph -| |
|
6) takes the minimum cost -|
Never thought i would understand a topic like graph like no other , thankyou!
Understood! So awesome explanation as always, thank you very much!!
tumhari inglish acchi hai habibi ..and content bhi:)
superb explanation 🤩. You are putting in a lot of effort to provide great content.
Thank you sir 😁
Understood 👍🏻👍🏻
An MST does not contain any cycles. If a cycle exists, you can always remove one of its edges to reduce the weight.
"Find the city with the smallest number of neighbors in a threshold distance"
Could you please cover this question as it was mentioned in your sheet,just after floydd warshall algo
sure I will do it
Understood ++ thanks Raj
Hi Striver, Great Work, You are putting perfectionism and great dedication in your videos,
Can you make some videos on high level SYSTEM DESIGN ? Can you make a plan of creating System Design Sheet, your DSA sheet is helpful.
Aa year bro system design amaina manchi resource o
Dorikinda
Thanks Bhai 🤍
Thanks Striver.
understood brother❣
understood bhaiya
Now finally I am first Viewer 🤩
Congratulation bro 🏅
May God help you
Thank you bhaiya
Number of spanning tree in a complete graph is n^n-2 and if graph is not complete then it can be find by using krichoff law.
Understood👍👍☑️☑️
understood thanks
Understood 🙌💯
understood🔥🔥
thanks
Understood❤
Understood!!! Thanks
Understood ☺️
Done, Thanks :)
Understood.
AWESOME!!
Understood!
can you please make a video on code of Total number of Spanning Trees in a Graph
understood!
can't we make MST of directed weighted graph?
generally we don't. I don't see any use of it
UNDERSTOOD
Dekh rhe ho Binod Striver Bhaiya ki Mehnat
Understand
understood
Thankyou sir
yes
Understood
watching at 1.5X ❌ watching at 2.5X ✅
one night before exam 🙂
Understood:)
understood :)
got it.
Nice
nice
#understood
i will be starting with cp so can you tell if there's anything like making notes in this like as in things i learn for cp
Sorry,i know it's a stupid question but i will be joining clg so:p
The example you have given does not follow the rule of MST cuz number of edges is not equal to n-1..... Here no. of edges is n+1... Why??
GOD💙
US
there is one point which is missed in defination of spanning tree, spanning tree shoud not contain any cycle .
6:43 got the mst with same sum but different design Here my design is
2
/ | \
6 1 3
/ \
5 4
Understood bhaiya 🙏❤️
Understood Sir! :)
Thank you! _/\_ ^^
Aap kitne time sote ho
undeestood
there will always be no cycle in mst
from node 5 to 6 , 5-1-2-6 , here the total sum is 13,why can't it be the minimum spanning tree.
u have to visit all the nodes at least once
"Understood"
Umderstood
✅✅✅
us
Op
Understood ☺
understood
Understood:)
Understood
understood
Understood
understood
Understood
understood
Understood
Understood
understood
understood
Understood
understood
understood
understood
understood
understood
understood
understood
understood
understood
understood
understood
understood
understood
understood
understood
understood