版权所有:内蒙古大学图书馆 技术提供:维普资讯• 智图
内蒙古自治区呼和浩特市赛罕区大学西街235号 邮编: 010021
作者机构:Department of Computer Engineering and Systems Alexandria University Egypt Computer and Communications Engineering Program Alexandria University Egypt
出 版 物:《arXiv》 (arXiv)
年 卷 期:2018年
核心收录:
摘 要: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. Copyright © 2018, The Authors. All rights reserved.