Skip to content

49 add union find data structure - #62

Open
c-m-elliott wants to merge 147 commits into
mainfrom
49-add-union-find-data-structure
Open

49 add union find data structure#62
c-m-elliott wants to merge 147 commits into
mainfrom
49-add-union-find-data-structure

Conversation

@c-m-elliott

Copy link
Copy Markdown

So far, this includes the interfaces UnionFind, SortedUnionFind, PersistentUnionFind and PersistentSortedUnionFind as well as the abstract classes AbstractImmutableUnionFind and AbstractImmutableSortedUnionFind. It also contains a naive implementation of SortedUnionFind based on a HashMap of TreeSets (SortedTreeSetUnionFind). There is a set of tests (SortedUnionFindTest), but there seems to be some kind of problem regarding null values which is causing the JDK21 PackageSanityTest to fail. This in particular is something I'd appreciate input on. Thanks!

Colleen added 30 commits May 25, 2026 13:52
… mismatches that will be sorted out later on if I decide to stick with HashMaps
…) as static method problematic due to variable type
Colleen added 30 commits August 14, 2026 14:54
…which union is to be performed via a constructor parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Add Union-Find Data-Structure

2 participants