Use Greedy algorithm to find the minimum spanning tree.
Running time analysis
For a graph , it depends on the specific implementation of the disjoint-set data structure.
Nov 05, 20231 min read
Use Greedy algorithm to find the minimum spanning tree.
For a graph G=(V,E) , it depends on the specific implementation of the disjoint-set data structure.
O(ElgV)