Nordic Journal of Computing Bibliography

L. Malmi. A New Method for Updating and Rebalancing Tree-Type Main Memory Dictionaries. Nordic Journal of Computing, 3(2):111-130, Summer 1996.
Abstract

The most important methods for balancing search trees are periodical rebuilding of the whole tree, which takes Omega(N) time, and rebalancing the tree during each update operation, in O(log N) time. Recently, a new method called relaxed balancing has been proposed in which balancing and updates are uncoupled. Updates only leave balance information in the tree, thus enabling rebalancing later. In this paper, new algorithms for updating and rebalancing the tree, based on using the relaxed balance information, are given. It is shown that if M up-dates are performed in a red-black tree with N keys, the tree can be rebalanced in O(M log (N + M)) time. If the tree is originally empty, the rebalancing is performed in O(M) time.

Categories and Subject Descriptors: E.1 [Data Structures]; F.2.2 [Analysis of Algorithms and Problem Complexity]: Nonnumerical Algorithms and Problems; G.2.2 [Discrete Mathematics]: Graph Theory

Additional Key Words and Phrases: algorithms, balanced trees, data structures

Selected references


Shortcuts:

  • Nordic Journal of Computing homepage
  • Bibliography top level
  • Nordic Journal of Computing Author Index
  • Search the HBP database