Skip to content

feat: add union-find data structure - #304

Open
CapedCrusader77 wants to merge 1 commit into
TheAlgorithms:masterfrom
CapedCrusader77:add-union-find
Open

CapedCrusader77 wants to merge 1 commit into
TheAlgorithms:masterfrom
CapedCrusader77:add-union-find

Conversation

@CapedCrusader77

Copy link
Copy Markdown

Adds data_structures/union_find.r: find with path compression, union by rank, connectivity check, plus example tests

Copilot AI balanced review requested due to automatic review settings November 21, 2026 06:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new Union-Find algorithm is missing its required entry under Data Structures in DIRECTORY.md.

1 open issue

Review effort: Balanced

@@ -0,0 +1,131 @@
# Union-Find (Disjoint Set Union) keeps track of elements split into
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants