Data structures & algorithms

Minimum spanning tree

Kruskal's and Prim's algorithms step by step: sorted edges, union-find forest, priority queue and keys, total MST weight, and practice questions.

All 62 visualisers