MST Builder — Kruskal & Prim

Algorithm
Nodes
Timer
00:00
Mistakes
0
Edges in MST
0
MST Cost
-
Accuracy
-
How to play
• In Kruskal, click the smallest-weight edge (that doesn't create a cycle).
• In Prim, start node is random; click the smallest edge connecting the tree to a new vertex.
• Correct picks turn green, wrong picks flash red.
• Finish when MST has n-1 edges — compare cost to optimal.
Run
-
Leaderboard (best time)
No scores yet
Built with ❤️ — pick edges carefully!