Union-Find / Disjoint Set Union
Study the Union-Find / Disjoint Set Union algorithmic pattern for technical coding interviews.