Graph Theory - Kruskal Algorithm [Disjoint Set] (Arabic)

  Рет қаралды 14,463

Arabic Competitive Programming

Arabic Competitive Programming

Күн бұрын

Пікірлер: 21
@Donbcheap
@Donbcheap Жыл бұрын
I understood this more than Prim Algorithm
@Miller4way
@Miller4way 10 жыл бұрын
Just brilliant , Thx , but you have forgotten to upload this session to ur dropbox :D
@ArabicCompetitiveProgramming
@ArabicCompetitiveProgramming 10 жыл бұрын
I lost it :(
@visheshmaheshwari2663
@visheshmaheshwari2663 4 жыл бұрын
Can you please send the code for counting number of MSTs in a graph I cannot understand it from visuals and i don't speak arabic. Thanks.
@ArabicCompetitiveProgramming
@ArabicCompetitiveProgramming 4 жыл бұрын
github.com/mostafa-saad/MyCompetitiveProgramming/blob/master/SPOJ/SPOJ_MSTS.txt
@mohamednabil9146
@mohamednabil9146 7 жыл бұрын
Sir, Minimax was in Flloyd if I remember correctly, not Dijkstra right ?
@amrmaghraby327
@amrmaghraby327 8 жыл бұрын
But why when i am solving on Disjoint only i must to decrement x and y before enter UNION_SET function and when i use Miniumm spanning tree i mustn't decrement it??????
@ArabicCompetitiveProgramming
@ArabicCompetitiveProgramming 8 жыл бұрын
I am not sure what seanrio you faced. Try to solve more problems. x and y are zero based positions in both Dijstra and other problems.
@amrmaghraby327
@amrmaghraby327 8 жыл бұрын
yes that what i was convinced with when solving disjoint but when i wrote MST it got WA and after removing decrementing it got AC
@amrmaghraby327
@amrmaghraby327 8 жыл бұрын
I was following this Scenario at line 72 and 73 tausiq.wordpress.com/2013/05/30/minimum-spanning-tree-kruskal-algorithm-source-code-cc/
@ArabicCompetitiveProgramming
@ArabicCompetitiveProgramming 8 жыл бұрын
show your wrong code in some solving facebook groups and ask them why decrementing is WA probably it was already 0 based
@Donbcheap
@Donbcheap Жыл бұрын
وعليكم السلام ورحمة الله وبركاته
@ayasaber2567
@ayasaber2567 10 жыл бұрын
ربنا يجزاكيك كل خير , ممكن الاكواد ؟؟
@ArabicCompetitiveProgramming
@ArabicCompetitiveProgramming 10 жыл бұрын
I lost it :( You have to write it
@MohammedAli-xt9dy
@MohammedAli-xt9dy 8 жыл бұрын
???more detail second minimum spanning tree
@ArabicCompetitiveProgramming
@ArabicCompetitiveProgramming 8 жыл бұрын
there is a UVA problem about it...try to solve it...or see forums for solution idea is normal...you can get it by yourself
@MohammedAli-xt9dy
@MohammedAli-xt9dy 8 жыл бұрын
thanks
@MohammedAli-xt9dy
@MohammedAli-xt9dy 8 жыл бұрын
الكود ده صح لان اجيب second minimum spanning tree
@MohammedAli-xt9dy
@MohammedAli-xt9dy 8 жыл бұрын
ideone.com/FN0WRL
@ArabicCompetitiveProgramming
@ArabicCompetitiveProgramming 8 жыл бұрын
try it on a problem and see
@m00oon
@m00oon 5 жыл бұрын
sir , can you please speak in english
Graph Theory - Prim Algorithm (Arabic)
19:17
Arabic Competitive Programming
Рет қаралды 18 М.
Union Find in 5 minutes - Data Structures & Algorithms
5:46
Potato Coders
Рет қаралды 243 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Union Find Kruskal's Algorithm
6:15
WilliamFiset
Рет қаралды 218 М.
How Dijkstra's Algorithm Works
8:31
Spanning Tree
Рет қаралды 1,4 МЛН
Eager Prim's Minimum Spanning Tree Algorithm | Graph Theory
14:33
WilliamFiset
Рет қаралды 26 М.
3.5 Prims and Kruskals Algorithms - Greedy Method
20:12
Abdul Bari
Рет қаралды 3 МЛН
Graph Theory - Dijkstra Algorithm (Arabic)
21:17
Arabic Competitive Programming
Рет қаралды 22 М.
Topological Sort Algorithm | Graph Theory
14:09
WilliamFiset
Рет қаралды 486 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 41 М.
Attention in transformers, visually explained | DL6
26:10
3Blue1Brown
Рет қаралды 2 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН