def countComponents(self, n, edges):
        union_find = UnionFind(n)
        for i, j in edges:
            union_find.union_set(i, j)
        return union_find.count
Returns the full name of the user, or if none is supplied will return
dataset/ETHPy150Open kamyu104/LeetCode/Python/number-of-connected-components-in-an-undirected-graph.py/Solution.countComponents--crossover with--dataset/ETHPy150Open clione/django-kanban/src/core/userena/models.py/UserenaBaseProfile.get_full_name_or_username