you searching - disjoint set tree union compression

0 1 2 3