Skip to content

Union-find #70

Description

@stevelinton

One for the todo list -- Union-find data structures are less well known than they should be, but amazingly useful. They model partitions of a finite set. The key operations are "find the canonical representative of the component containing a given element" and "unite these two components into one bigger component". Both can be done in time amortized time proportional to the inverse ackerman function of the size of the set (ie as near constant as makes no difference). Algorithms are simple.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions