Kruskal's algorithm
medium 20 minKruskal's algorithm finds a minimum spanning tree: the cheapest set of edges that connects every vertex with no cycles.
Kruskal's algorithm finds a minimum spanning tree: the cheapest set of edges that connects every vertex with no cycles.