leetcode 684. Redundant Connection (union-find算法实现)

NoSuchKey