Online List Labeling: Breaking the log2 n Barrier

被引:3
作者
Bender, Michael A. [1 ]
Conway, Alex [2 ]
Farach-Colton, Martin [3 ]
Komlos, Hanna [3 ]
Kuszmaul, William [4 ]
Wein, Nicole [5 ]
机构
[1] SUNY Stony Brook, Stony Brook, NY 11794 USA
[2] VMWare Res, New York, NY USA
[3] Rutgers State Univ, New Brunswick, NJ USA
[4] MIT, Cambridge, MA 02139 USA
[5] DIMACS, Washington, DC USA
来源
2022 IEEE 63RD ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS) | 2022年
关键词
D O I
10.1109/FOCS54457.2022.00096
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The online list-labeling problem is an algorithmic primitive with a large literature of upper bounds, lower bounds, and applications. The goal is to store a dynamically-changing set of n items in an array ofmslots, while maintaining the invariant that the items appear in sorted order, and while minimizing the relabeling cost, defined to be the number of items that are moved per insertion/deletion. For the linear regime, where m = (1 + Theta(1))n, an upper bound of O(log(2) n) on the relabeling cost has been known since 1981. A lower bound of Omega(log(2) n) is known for deterministic algorithms and for so-called smooth algorithms, but the best general lower bound remains Omega(log n). The central open question in the field is whether O(log(2) n) is optimal for all algorithms. In this paper, we give a randomized data structure that achieves an expected relabeling cost of O(log(3/2) n) per operation. More generally, if m = (1+ epsilon)n for epsilon = O(1), the expected relabeling cost becomes O(epsilon(-1) log(3/2) n). Our solution is history independent, meaning that the state of the data structure is independent of the order in which items are inserted/deleted. For history-independent data structures, we also prove a matching lower bound: for all epsilon between 1/n(1/3) and some sufficiently small positive constant, the optimal expected cost for history-independent list-labeling solutions is Theta(epsilon(-1) log(3/2) n).
引用
收藏
页码:980 / 990
页数:11
相关论文
共 57 条
[1]  
ANDERSSON A, 1989, LECT NOTES COMPUT SC, V382, P393
[2]  
ANDERSSON A, 1990, LECT NOTES COMPUT SC, V447, P111
[3]  
[Anonymous], 2001, PROC 33 ANN ACM S TH
[4]   RANDOMIZED SEARCH-TREES [J].
ARAGON, CR ;
SEIDEL, RG .
30TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 1989, :540-545
[5]   ON ONLINE LABELING WITH LARGE LABEL SET [J].
Babka, Martin ;
Bulanek, Jan ;
Cunat, Vladimr ;
Koucky, Michal ;
Saks, Michael E. .
SIAM JOURNAL ON DISCRETE MATHEMATICS, 2019, 33 (03) :1175-1193
[6]  
Babka M, 2012, LECT NOTES COMPUT SC, V7501, P121, DOI 10.1007/978-3-642-33090-2_12
[7]   INSERTION SORT is O(n log n) [J].
Bender, MA ;
Farach-Colton, M ;
Mosteiro, MA .
THEORY OF COMPUTING SYSTEMS, 2006, 39 (03) :391-397
[8]   Cache-oblivious B-trees [J].
Bender, MA ;
Demaine, ED ;
Farach-Colton, M .
SIAM JOURNAL ON COMPUTING, 2005, 35 (02) :341-358
[9]   A locality-preserving cache-oblivious dynamic dictionary [J].
Bender, MA ;
Duan, ZY ;
Iacono, J ;
Wu, J .
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2004, 53 (02) :115-136
[10]  
Bender MA, 2002, LECT NOTES COMPUT SC, V2461, P139