DrawCode

Kruskal's MST

Builds an MST by sorting all edges and greedily adding the lightest edge that does not form a cycle.

Browse free without an account. Sign in to save progress, sync likes, and open your canvas workspace.