Advertisement

Springer Nature is making Coronavirus research free. View research | View latest news | Sign up for updates

Relaxed Balance Using Standard Rotations

Abstract

Abstract. In search trees with relaxed balance, rebalancing transformations need not be connected with updates, but may be delayed. For standard AVL tree rebalancing, we prove that even though the rebalancing operations are uncoupled from updates, their total number is bounded by O(M log (M+N)) , where M is the number of updates to an AVL tree of initial size N . Hence, relaxed balancing of AVL trees comes at no extra cost asymptotically. Furthermore, our scheme differs from most other relaxed balancing schemes in an important aspect: No rebalancing transformation can be done in the wrong direction, i.e., no performed rotation can make the tree less balanced. Moreover, each performed rotation indeed corresponds to a real imbalance situation in the tree. Finally, and perhaps most importantly, our structure is capable of forgetting registered imbalance if later updates happen to improve the situation. Our results are of theoretical interest and have possible sequential and parallel applications.

This is a preview of subscription content, log in to check access.

Author information

Rights and permissions

Reprints and Permissions

About this article

Cite this article

Larsen, Soisalon-Soininen & Widmayer Relaxed Balance Using Standard Rotations . Algorithmica 31, 501–512 (2001). https://doi.org/10.1007/s00453-001-0059-x

Download citation

  • Key words. Data structures, Search trees, AVL trees, Relaxed balance, Amortized analysis.