Efficient algorithms to globally balance a binary search tree

  • Authors:
  • Hsi Chang;S. Sitharama Iyangar

  • Affiliations:
  • Louisiana State Univ., Baton Rouge;Louisiana State Univ., Baton Rouge

  • Venue:
  • Communications of the ACM
  • Year:
  • 1984

Quantified Score

Hi-index 48.26

Visualization

Abstract

A binary search tree can be globally balanced by readjustment of pointers or with a sorting process in O(n) time, n being the total number of nodes. This paper presents three global balancing algorithms, one of which uses folding with the other two adopting parallel procedures. These algorithms show improvement in time efficiency over some sequential algorithms [1, 2, 7] when applied to large binary search trees. A comparison of various algorithms is presented.