arXiv · 1804.02112
Red-Black Trees with Constant Update Time
Abstract
We show how a few modifications to the red-black trees allow for $O(1)$ worst-case update time (once the position of the inserted or deleted element is known). The resulting structure is based on relaxing some of the properties of the red-black trees while guaranteeing that the height remains logarithmic with respect to the number of nodes. Compared to the other search trees with constant update time, our tree is the first to provide a tailored deletion procedure without using the global rebuilding technique. In addition, our structure is very simple to implement and allows for a simpler proof of correctness than those alternative trees.
Explore related subjects
Keep this discovery
Amr Elmasry, Mostafa Kahla, Fady Ahdy, Mahmoud Hashem. 2018-04-06. Red-Black Trees with Constant Update Time. https://arxiv.org/abs/1804.02112
Cite the original work for its findings. Save a collection to share your selection of sources.