union–find data structure

E321042

The union–find data structure is an efficient algorithmic structure that maintains disjoint sets and supports fast union and find operations, widely used in graph algorithms such as Kruskal’s minimum spanning tree.

All labels observed (2)

Label Occurrences
merge–find set 1
union–find data structure canonical 1

How this entity was disambiguated

Statements (51)

Predicate Object
instanceOf data structure
disjoint-set data structure
alsoKnownAs DSU
disjoint set union
disjoint-set data structure
union–find data structure
surface form: merge–find set
applicationDomain compilers and type systems
computational geometry
computer vision
graph algorithms
network design
hasComponent parent array
rank array
size array
hasKeyIdea maintains a partition of a universe into disjoint sets
represents each set by a representative element
stores sets as rooted trees
hasOperationDefinition find returns the representative of the set containing an element
make-set creates a new set containing a single element
union merges the sets containing two given elements
hasOptimization path compression
union by rank
union by size
mathematicalBasis equivalence relations
set partitions
property ensures sets remain disjoint
operations are typically implemented iteratively
supports efficient merging of equivalence classes
spaceComplexity O(n)
supportsOperation connected
find
make-set
same-set query
union
timeComplexity amortized inverse Ackermann time per operation with union by rank and path compression
near-constant time per operation in practice
typicalImplementation array-based parent pointers
tree-based forest representation
usedInAlgorithm Kruskal’s minimum spanning tree algorithm
bridge and articulation point algorithms (as a subroutine in some variants)
clustering algorithms
connected components in undirected graphs
dynamic connectivity problems
equivalence class computation
image segmentation
maze generation algorithms
network connectivity analysis
offline lowest common ancestor algorithms
percolation simulations
unification in logic and type inference
worstCaseTimeComplexity O(α(n)) per operation with union by rank and path compression

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

Robert Tarjan notableWork union–find data structure
union–find data structure alsoKnownAs union–find data structure
this entity surface form: merge–find set