Segment Tree that manages a list of T.
T
A disjoint set data structure with path compression and union by size.