data-structures/avl-tree

AVL tree, a Binary Search Tree that satisfies the Height-Balance Property.
Source:
Example
var avlTree = require('path-to-algorithms/src/data-structures'+
'/avl-tree');
var avl = new avlTree.AVLTree();

avl.insert(2000);
avl.insert(1989);
avl.insert(1991);
avl.insert(2001);
avl.insert(1966);

Classes

AVLTree
Node