

def add(self, item):
    if (self.pi[item] == (- 1)):
        self.pi[item] = item
        self.sz[item] = 1
        self.count += 1

dataset/ETHPy150Open algorhythms/LintCode/Number of Islands II.py UnionFind.add/original