AlgoViz

Kruskal's algorithm

medium 20 min

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