Balanced Tree
overview
Summary
balanced_trees keep structure height_balanced so the tree height stays small. This gives log_time complexity for search, insert, and delete. After updates, they perform rebalancing with rotations to restore rules. Common types: avl_tree, red_black_tree, and b_tree. Key invariants limit height differences or enforce color rules. The goal is predictable performance on dynamic data. Remember: small height, automatic fixes after updates, and standard operations staying near O_log_n time.