@union-find/non-contiguous
v3.0.0
Published
Disjoint-set data structures for JavaScript
Downloads
8
Maintainers
Readme
:rice_ball: @union-find/non-contiguous
Non-contiguously-allocated disjoint-set data structures for JavaScript. See docs. Parent is js-data-structures.
find( a ) === find( b ) ; // false
union( A , B ) ;
find( a ) === find( b ) ; // true
:dancing_women: Related
- @union-find/contiguous: implementation of the same data structures with arrays instead of nodes and pointers