Data structures & algorithms

Union-find

Union-find (disjoint set union) visualiser: union by rank or size, path compression animated, the parent array and forest, and a naive comparison.

All 62 visualisers