def _pi(self, item):
        pi = self.pi[item]
        if item != pi:
            self.pi[item] = self._pi(pi)

        return self.pi[item]
Links link_name to source.
dataset/ETHPy150Open algorhythms/LeetCode/305 Number of Islands II.py/UnionFind._pi--crossover with--dataset/ETHPy150Open anishathalye/dotbot/plugins/link.py/Link._link