并査集
09 June 2018
来自 [[https://leetcode.com/problems/accounts-merge/discuss/109157/JavaC++-Union-Find]]
a b c          # now b, c have parent a
d e f          # now e, f have parent d
g a d          # now abc, def all merged to group g