Content deleted Content added
→Finding the [[connected component]]s of an [[undirected graph]]: Er, finish this section |
NOTOC, for now |
||
Line 5:
While we could represent the sets themselves as objects and have the operations operate on these sets, the more common approach is to choose an element from each set as a ''representative''; then, '''Find''' returns the representative of the set that the given element is in, and '''Union''' takes the representatives of two given sets.
__NOTOC__
== Disjoint-set linked lists ==
|