• Home
  • Search
  • Deletion Without Rebalancing in Binary Search Trees
  • Cite Icon8
  • https://doi.org/10.1145/2903142Copy DOI Icon

Deletion Without Rebalancing in Binary Search Trees

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We address the vexing issue of deletions in balanced trees. Rebalancing after a deletion is generally more complicated than rebalancing after an insertion. Textbooks neglect deletion rebalancing, and many B-tree--based database systems do not do it. We describe a relaxation of AVL trees in which rebalancing is done after insertions but not after deletions, yet worst-case access time remains logarithmic in the number of insertions. For any application of balanced trees in which the number of updates is polynomial in the tree size, our structure offers performance competitive with that of classical balanced trees. With the addition of periodic rebuilding, the performance of our structure is theoretically superior to that of many, if not all, classic balanced tree structures. Our structure needs lg lg m + 1 bits of balance information per node, where m is the number of insertions and lg is the base-two logarithm, or lg lg n + O(1) with periodic rebuilding, where n is the number of nodes. An insertion takes up to two rotations and O(1) amortized time, not counting the time to find the insertion position. This is the same as in standard AVL trees. Using an analysis that relies on an exponential potential function, we show that rebalancing steps occur with a frequency that is exponentially small in the height of the affected node. Our techniques apply to other types of balanced trees, notably B-trees, as we show in a companion article, and particularly red-black trees, which can be viewed as a special case of B-trees.

Similar Papers
  • Conference Article
  • Citations12

Deletion without Rebalancing in Non-Blocking Binary Search Trees

  • Jan 01, 2017
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Meng He +1
  • Conference Article
  • Citations62

Just Join for Parallel Ordered Sets

  • Jul 11, 2016
  • Guy E Blelloch +2
  • Book Chapter
  • Citations14

Rank-Balanced Trees

  • Jan 01, 2009
  • Bernhard Haeupler +2
  • Research Article

Adaptive Binary Search Tree for Integers Sets with Few Holes

  • Dec 15, 2024
  • Electrical & Electronic Engineering Research
  • Ruixin Wang +1
  • Research Article

Comparative performance evaluation of suboptimal binary search trees

  • Jan 01, 2022
  • Journal of Computer and Forensic Sciences
  • Svetlana Štrbac-Savić +3
  • Book Chapter
  • Citations1

Search Trees with Relaxed Balance and Near-Optimal Height

  • Jan 01, 2001
  • Rolf Fagerberg +2
  • Conference Article
  • Citations1

Improving Content Authentication Efficiency of Online Multimedia Service

  • Jan 01, 2010
  • Liangbin Li +3
  • Research Article
  • Citations2

Purely Functional 1-2 Brother Trees

  • May 26, 2009
  • Journal of Functional Programming
  • Ralf Hinze
  • Book Chapter
  • Citations46

The interval skip list: A data structure for finding all intervals that overlap a point

  • Aug 14, 1991
  • Eric N Hanson
  • Research Article
  • Citations34

Self‐adjusting trees in practice for large text collections

  • May 21, 2001
  • Software: Practice and Experience
  • Hugh E Williams +2
  • Book Chapter

How costly can red-black trees be?

  • Jan 01, 1991
  • Helen Cameron +1
  • Conference Article
  • Citations3

Multi-Finger Binary Search Trees

  • Jan 01, 2019
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Parinya Chalermsook +4
  • Conference Article
  • Citations3

Creating a Forest of Binary Search Trees for a Multiprocessor System

  • Sep 13, 2006
  • Suri Pushpa +2
  • Research Article
  • Citations1

New Terminology and Results for AVL Trees

  • Dec 01, 2017
  • Electronic Notes in Discrete Mathematics
  • Mahdi Amani
  • Research Article
  • Citations12

An optimal insertion algorithm for one-sided height-balanced binary search trees

  • Sep 01, 1979
  • Communications of the ACM
  • Kari-Jouko Räihä +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.