Abstract
The AVL and red-black trees are binary search trees that guarantee O (
log n ) insertion, deletion, and search. This guarantee requires
rebalancing the trees, potentially for each insertion or deletion.
Benchmarks demonstrate that the AVL tree is often faster than three
red-black tree variants for insertion and deletion, and as fast or
faster for search. An improved AVL tree deletion algorithm reduces the
rebalancing operations associated with deletion by 20 percent.