forest

A collection of tree implementations. SplayTree, FusionTree, BTree, etc.

npm install forest
1 downloads in the last month

Node Forrest

Node Forrest is a collection of tree implementations.

Splay Tree

A splay tree is a self-balancing binary search tree with the additional property that recently accessed elements are quick to access again. It performs basic operations such as insertion, look-up and removal in O(log(n)) amortized time.

Fusion Treei

This is next on the list to implement.

npm loves you