2.0.0
The module @tyriar/avl-tree
has been moved from gwtw/js-avl-tree to this implementation. The API to import is now:
import { AvlTree } from '@tyriar/avl-tree'
size
and isEmpty
have become getters rather than functions, you no longer need to add the ()
to call them:
console.log(tree.size);
console.log(tree.isEmpty);