[Disjoint-Set Data Structure]