Kruskal's algorithm in C ++
1 answer
There boost::kruskal_minimum_spanning_tree
. The Prim algorithm also exists if you want to compare with it.
+10
source to share