A New Method for Balancing Binary Search Trees

  • Authors:
  • Salvador Roura

  • Affiliations:
  • -

  • Venue:
  • ICALP '01 Proceedings of the 28th International Colloquium on Automata, Languages and Programming,
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

A new balancing method for binary search trees is presented, which achieves logarithmic worst-case cost on searches and updates. The method uses the sizes of the subtrees as balancing information; therefore operations by rank are efficiently performed without any changes in the data structure. Compared to weighted binary search trees [7], which also achieve logarithmic worst-case cost by making use of the sizes of the subtrees, the operations involved with our method are likely to be less costly in most real situations.