Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 222a238

Browse files
Update Readme.md
1 parent e28b308 commit 222a238

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎Disjoint Sets/Union Find/Readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
# Union Find Algorithm
22

3-
Union-Find Algorithm ( or Disjoint Set Data Structure ) is used to group together a number of elements ( not in any specific order ) in a set and check if two elements belong to same set or are from different sets.
3+
Union-Find ( or Disjoint Set Data Structure ) is used to group together a number of elements in a set and check if two elements belong to same set or are from different sets. This algorithm is used to solve the dynamic connectivity problem in Computer Science & Graph Theory.
4+
5+
There are quite a few approaches designing a disjoint set data structure.
6+
1. With fast union, but slow find
7+
2. With fast find, but slow union
8+
3. With fast union and fast find ( by using path compression )

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /