https://github.com/halfrost/LeetCode-Go/blob/f0792d1179b1a6ab12fb9f906a3fc40ef68f9a80/template/UnionFind.go#L104 感觉这个地方应该是: 应该是 uf.count[proot]== len(uf.parent)-1