Skip to content
UPEEC

AVL Trees

Self-balancing BSTs where subtree heights differ by at most 1, restored by rotations.

Advanced
Comments 0

Guarantee O(log⁡n)O(\log n) search/insert/delete; stricter balance than red-black trees, so faster lookups.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.