Skip to content

Commit

Permalink
docs: fix phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
4ndrelim committed Apr 8, 2024
1 parent f09df8f commit b00cf3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/dataStructures/disjointSet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

## Background

A disjoint-set structure also known as a union-find or merge-find set, is a data structure
keeps track of a partition of a set into disjoint (non-overlapping) subsets.
A disjoint-set structure also known as a union-find or merge-find set, is a data structure that tracks a set of elements
partitioned into a number of disjoint (non-overlapping) subsets. It is also commonly used to check for connectivity
(e.g. if two objects are 'grouped' together or belong to some component).

In CS2040s, this is introduced in the context of checking for dynamic connectivity. For instance, Kruskal's algorithm
in graph theory to find minimum spanning tree of a graph utilizes disjoint set to efficiently
Expand Down

0 comments on commit b00cf3a

Please sign in to comment.