Graph

547. Number of Provinces

547. Number of Provinces class UnionFind: def __init__(self, size)