This is Krushkal Algorithm for minimum Spanning Tree.
Kruskal's algorithm to find the minimum cost spanning tree uses the greedy approach. This algorithm treats the graph as a forest and every node it has as an individual tree.
This is Krushkal Algorithm for minimum Spanning Tree.
Kruskal's algorithm to find the minimum cost spanning tree uses the greedy approach. This algorithm treats the graph as a forest and every node it has as an individual tree.