Union-Find 1

#1101
The Earliest Moment When Everyone Become Friends

彼此熟识的最早时间

Union-Find
Medium