additional properties
bst with additional properties:
- every node is balanced in avl terms
+++height of left and right subtree are at most different by 1
ad and disadvantages
\++ = balanced tree in worst case -- = more work adding and removing nodes
the height at each node is precalculated and stored - usually as an instance variable in the node
true
balance algorithm
see notes - better understand than memorize
complexity analysis
worst case - all operations are O(log n)