Disjoint Set Union (Union-Find)
Disjoint Set Union (Union-Find) is an efficient data structure to track the union of disjoint sets.
Disjoint Set Union (Union-Find) is an efficient data structure to track the union of disjoint sets.
Practice problems for Graphs to help you understand the concepts better.