AVL Trees BST Maintain balance in the tree For node x, define balance factor bf(x) = [height(x.right) - height(x.left)] AVL tree: bf(x) either 0, 1, or -1 for all (x) Adelson-Velskii and Landis, 1962 Classic Tree Demos