Rosetta Problems

Disjoint Sets Union

https://oj.vnoi.info/problem/dsu_a