Node
Functions on the nodes of the disjoint set forest.
Definitions
Returns the parent of the node n, or None if n is a root.
Sets the parent of the node n to newParent.
Functions on the nodes of the disjoint set forest.
Returns the parent of the node n, or None if n is a root.
Sets the parent of the node n to newParent.