ParentFull threadthrowaway43·This is wrong headed.Just add everything one by one to a Disjoint set union.My bad.View on HN