Content deleted Content added
Wrote intro |
Wrote intro |
||
Line 1:
In [[computer science]], a '''disjoint-set data structure''' is a [[data structure]] that assigns each element in a set to one of a number of disjoint (nonoverlapping) groups of elements. A '''union-find algorithm''' is a way of performing two critical operations on such a data structure:
* '''Find''': Determine which group a particular element is in.
* '''Union''': Combine two groups into a single group.
|