
Introduction to Disjoint Set (Union-Find Data Structure)
Jan 17, 2026 · It takes two elements as input and finds the representatives of their sets using the Find operation, and finally puts either one of the trees (representing the set) under the root node of the …
Disjoint-set data structure - Wikipedia
In computer science, a disjoint-set data structure, also called a union–find data structure or merge–find set, is a data structure that stores a collection of disjoint (non-overlapping) sets. Equivalently, it …
Find an algorithm to solve it. Fast enough? Fits in memory? If not, figure out why. Find a way to address the problem. Iterate until satisfied.
Disjoint Set Union - Algorithms for Competitive Programming
Dec 15, 2025 · To combine two sets (operation union_sets(a, b)), we first find the representative of the set in which a is located, and the representative of the set in which b is located. If the representatives …
Union-Find: The Ultimate Algorithm - numberanalytics.com
Jun 13, 2025 · The Union-Find algorithm is used for managing a set of elements partitioned into disjoint subsets. It's particularly useful in graph theory, network connectivity problems, and finding …
Disjoint-set Data Structure (Union-Find) - Brilliant
Union-find, as it is popularly called, is a data structure that categorizes objects into different sets and lets checking out if two objects belong to the same set.
Exploring Union-Find Data Structures: A Comprehensive Guide
Union-Find is a key component in Kruskal’s algorithm for finding the minimum spanning tree of a weighted, undirected graph. This has applications in network design, clustering, and image …
Disjoint–Set Data Structure (Union–Find Algorithm)
Sep 19, 2025 · This post explains the working of disjoint-set data structure (also called union find data structure). A disjoint-set is a data structure that keeps track of a set of elements partitioned into a …
AlgoDaily - What to Know About the Union Find Algorithm
Picture the Union-Find algorithm as a detective looking for hidden cycles within a network of interconnected nodes. Let's walk through a real-world example to see how this algorithm can unveil …
Jan 23, 2022 · Subtext of today’s lecture (and this course) Steps to develop a usable algorithm to solve a computational problem.