koreankdj
Union-Find 알고리즘(서로소 집합, Disjoint-Set)