Skip to content

rcjonh/unionfind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnionFind GoDoc Build Status Build status

This is an implementation of the UnionFind (disjoint-set) data structure, as described, for example, here: http://algs4.cs.princeton.edu/15uf

The Union() and Connected() operations take O(log* N) “log-star” time, which is close to O(1).

Install

$ go get github.com/abdel125/unionfind

About

Implementation of the UnionFind data structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages