AVL Tree - Definition
An AVL tree (Adelson-Velsky and Landis) is a self-balancing binary search tree where the height difference between the left and right subtrees of any node is at most 1. This ensures that the tree remains approximately balanced, providing efficient insertion, removal, and search operations.
AVL trees were the first self-balancing binary search trees invented, in 1962, by Georgy Adelson-Velsky and Evgenii Landis. They are widely used in applications requiring fast search and update operations, such as databases and file systems.
Remember: A binary tree is, by definition, a set of nodes that is either empty or consists of a root and two disjoint binary subtrees, called the left and right subtrees of the root.