NeetCode All · Union-Find / Disjoint Set

Maintain disjoint sets with union and find operations to detect connectivity or cycles as edges are processed.

Sheet Problems: 4
Category: Graphs

Featured Problems (4)

Explore More Patterns in NeetCode All

Track your progress across all 973 problems in this curriculum roadmap.