@union-find/contiguous
v5.0.0
Published
Fixed-size disjoint set data structures for JavaScript
Downloads
7
Maintainers
Readme
:rice: @union-find/contiguous
Contiguously-allocated disjoint-set data structures for JavaScript. See docs. Parent is js-data-structures.
U.find( a ) === U.find( b ) ; // false
U.union( A , B ) ;
U.find( a ) === U.find( b ) ; // true
:dancing_women: Related
@union-find/non-contiguous
: Implementation of the same data structures with nodes and pointers instead of arrays.