Тёмный

Kruskal's Algorithm In Hindi, Kruskal Algorithm in hindi 

livemathematica
Подписаться 4,7 тыс.
Просмотров 200
50% 1

Kruskal's algorithm is a greedy algorithm that is used to find the minimum spanning tree (MST) of a connected, undirected graph. The algorithm starts by sorting all the edges in the graph by their weight, in ascending order. Then, it iterates through the sorted edges and adds them to the MST, if adding the edge doesn't form a cycle. The process continues until a MST is formed. Kruskal's algorithm can also be used to find the maximum spanning tree by iterating through the edges in descending order.
Kruskal's algorithm is different from Prim's algorithm as it starts with the edges and not a vertex, also it uses Union-Find data structures to check for cycles instead of keeping track of the vertices already in the tree.
Kruskal's algorithm is often used when the graph is sparse (having less edges) and the cost of adding an edge is very high, because it avoids adding edges that make a cycle and only adds edges that connect the graph together.
#kruskalalgorithm
#kruskal'salgorithminhindi

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Лиса🦊 УЖЕ НА ВСЕХ ПЛОЩАДКАХ!
00:24
Вопрос Ребром - Серго
43:16
Просмотров 1,6 млн
Congruences and it’s properties in Hindi
9:51
Просмотров 1,1 тыс.
Huffman coding In Hindi
11:54
Просмотров 1,6 тыс.
Noam Chomsky on Israel
7:41
Просмотров 86
Very Specific
10:07
Просмотров 8 тыс.
Peter Hitchens in heated clash over Israel's war
11:33
Ai Code Editors Are Ruining Tech
7:41
Просмотров 9 тыс.
Лиса🦊 УЖЕ НА ВСЕХ ПЛОЩАДКАХ!
00:24