Skip to content

2.0.0

Compare
Choose a tag to compare
@Tyriar Tyriar released this 22 Jan 01:27
· 31 commits to master since this release

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);