Tag: vertex
-
Data Structures for Disjoint Sets
Overview Disjoint-set data structures, also known as union-find structures, manage a dynamic collection of non-overlapping sets. They are crucial in problems that involve connectivity and group membership, such as network clustering, image processing, and graph algorithms. The core operations supported are: These operations are designed to be fast—even across large sequences of updates—especially when combined…