About 832,000 results
Open links in new tab
  1. Introduction to Disjoint Set (Union-Find Data Structure)

    Jul 24, 2025 · If two elements are in the same tree, then they are in the same Disjoint set. The root node (or the topmost node) of each tree is called the representative of the set.

  2. 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. …

  3. In Lecture 4, we looked at two different implementations of disjoint sets: doubly-linked lists and trees. In this lecture we’ll improve each of these two implementations, ultimately obtaining a …

  4. Disjoint–Set Data Structure (Union–Find Algorithm)

    Sep 19, 2025 · A disjoint–set is a data structure that keeps track of a set of elements partitioned into several disjoint (non-overlapping) subsets. In other words, a disjoint set is a group of sets …

  5. 3 Union-find data structure The disjoint set data structure (also called union-find data structure) maintains disjoint sets and supports the following operations -

  6. The most common way to implement a disjoint-set data structure is a forest, or a collection of trees. We'll call this a disjoint set forest or just a forest for short.

  7. Disjoint Set Data Structure - Online Tutorials Library

    Disjoint set also known as union-find data structure. It is a type of data structure that keeps track of a collection of elements that are partitioned into multiple non-overlapping (one element can …

  8. Disjoint Set Union - Algorithms for Competitive Programming

    Oct 12, 2024 · We are given several elements, each of which is a separate set. A DSU will have an operation to combine any two sets, and it will be able to tell in which set a specific element …

  9. Disjoint Set Data Structure

    We want to keep the items in a collection of sets (disjoint sets) such that an item must occur in exactly one of those sets. For example, we want to partition a set of students into "students …

  10. Disjoint Set (Union-Find) Data Structure - useful.codes

    Jan 25, 2025 · The Disjoint Set (Union-Find) data structure is a powerful tool for solving partitioning and connectivity problems in computer science. By supporting efficient Union and …