Definition
Balanced Tree
A tree is called balanced if it maintains certain defined constraints on a relative structure of its subtrees (e.g., based on height, based on weight, or other metrics). These constraints prevent the tree from becoming excessively skewed, thereby ensuring more predictable and efficient performance for specific operations compared to an unconstrained tree.
Types
Height-Balanced
Definition
Link to originalHeight-Balanced Tree
Weight-Balanced
Definition
Link to originalWeight-Balanced Tree