The union find algorithm.
An element used by the union-find algorithm.
Performs the find part of the union-find algorithm.
find
Performs the union part of the union-find algorithm.
union