Buckets-JS icon indicating copy to clipboard operation
Buckets-JS copied to clipboard

A complete, fully tested and documented data structure library written in pure JavaScript.

Results 7 Buckets-JS issues
Sort by recently updated
recently updated
newest added

we implemented AVL based on BSTree code

i modified inorderTraverse by changing signature of function to inorderTraverse(callbacks, element = undefined) so that old functions would still work.

Removing the first element from a LinkedList is fast, however, removing the last element is slow. The problem seems to be that in the removeElementAtIndex function rather than simply accessing...

Hi, this library is awesome thanks for the work you put into it. We’re using BSTree to index domain names from documents. We can use inorderTraversal to traverse documents by...

e.g. [red-black tree](https://en.wikipedia.org/wiki/Red%E2%80%93black_tree) or [splay tree](https://en.wikipedia.org/wiki/Splay_tree), c.f. [npm bbtree](https://github.com/mourner/bbtree) If you insert into a non-balancing binary search tree from a sorted array, that can happen easily, the lookup performance breaks...

Any chance you will add N-ary tree structure support?

methods created when creating new object should be in prototype chain not in object itself. Since functions/method itself an object , it memory for it , when creating a object....