Content deleted Content added
m average -> amortized (accuracy) |
+merge-find set, revise representative explanation |
||
Line 2:
* '''Find''': Determine which group a particular element is in. Also useful for determining if two elements are in the same group.
* '''Union''': Combine or merge two groups into a single group.
Because it supports these two operations, a disjoint-set data structure is sometimes called a '''merge-find set'''. The other important operation, '''MakeSet''', which makes a group containing only a given element (a [[singleton]]), is generally trivial. With these three operations, many practical partitioning problems can be solved (see the ''Applications'' section).
== Disjoint-set linked lists ==
|