Term
AVL tree
A binary search tree in which the two subtrees of every node differ in height by at most 1. Rotations fix a difference of 2, so the height stays O(log n).
A binary search tree in which the two subtrees of every node differ in height by at most 1. Rotations fix a difference of 2, so the height stays O(log n).