This paper describes the most efficient way to manage operations on ranges of elements within an ordered set. The goal is to improve existing solutions, by optimizing the average-case time complexity and getting rid of heavy multiplicative constants in the worst-case, without sacrificing space complexity. This is a high-impact operation in practical applications, performed by introducing a new data structure called Wise Red-Black Tree, an augmented version of the Red-Black Tree.
翻译:本文件介绍了管理定购成套元素范围操作的最有效方法。 目标是通过优化平均时间复杂性和在最坏的情况下消除重倍增量常数,同时不牺牲空间复杂性,改进现有解决方案。 这是在实际应用中的一种高效操作,其实施方式是引入一个新的数据结构,名为“ 智慧红黑树 ” ( Wise- Red- Black Tree), 即红黑树的扩大版。