Practice Discrete Math

Union Find Connectivity

Browse Union Find Connectivity lessons inside Algorithmic Thinking and Complexity.

1 lessons · 5 questions

Algorithmic Thinking and Complexity

Big-O, loop analysis, graph algorithms, invariants, and developer-focused discrete math.

1 lessons · 410 questions

Union Find Connectivity

1 lessons · 5 questions

Least You Need to Know: Union-Find for Connectivity and Cycles
Union-find, also called disjoint set union (DSU), tracks which items currently belong to the same connected component. It is especially useful when edges are added over time and you need fast connectivity or redundant-edge reasoning.
Open lesson