Skip to content

Disjoint Set Path Compression #2

@vzyrianov

Description

@vzyrianov

Optimize the GetSet function by making each node reached along the traversal point directly to the root node to shorten subsequent traversals.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions