TY - GEN
T1 - Improved bounds for multipass pairing heaps and path-balanced binary search trees
AU - Dorfman, Dani
AU - Kaplan, Haim
AU - Kozma, László
AU - Pettie, Seth
AU - Zwick, Uri
N1 - Publisher Copyright:
© Steven Chaplick, Minati De, Alexander Ravsky, and Joachim Spoerhase.
PY - 2018/8/1
Y1 - 2018/8/1
N2 - We revisit multipass pairing heaps and path-balanced binary search trees (BSTs), two classical algorithms for data structure maintenance. The pairing heap is a simple and efficient "self-adjusting" heap, introduced in 1986 by Fredman, Sedgewick, Sleator, and Tarjan. In the multipass variant (one of the original pairing heap variants described by Fredman et al.) the minimum item is extracted via repeated pairing rounds in which neighboring siblings are linked. Path-balanced BSTs, proposed by Sleator (cf. Subramanian, 1996), are a natural alternative to Splay trees (Sleator and Tarjan, 1983). In a path-balanced BST, whenever an item is accessed, the search path leading to that item is re-arranged into a balanced tree. Despite their simplicity, both algorithms turned out to be difficult to analyse. Fredman et al. showed that operations in multipass pairing heaps take amortized O(log n · log log n/log log log n) time. For searching in path-balanced BSTs, Balasubramanian and Raman showed in 1995 the same amortized time bound of O(log n · log log n/log log log n), using a different argument. In this paper we show an explicit connection between the two algorithms and improve both bounds to O(log n · 2log∗n · log∗ n), respectively O (log n · 2log∗n · (log∗ n)2), where log∗(·) denotes the slowly growing iterated logarithm function. These are the first improvements in more than three, resp. two decades, approaching the information-theoretic lower bound of Ω(log n).
AB - We revisit multipass pairing heaps and path-balanced binary search trees (BSTs), two classical algorithms for data structure maintenance. The pairing heap is a simple and efficient "self-adjusting" heap, introduced in 1986 by Fredman, Sedgewick, Sleator, and Tarjan. In the multipass variant (one of the original pairing heap variants described by Fredman et al.) the minimum item is extracted via repeated pairing rounds in which neighboring siblings are linked. Path-balanced BSTs, proposed by Sleator (cf. Subramanian, 1996), are a natural alternative to Splay trees (Sleator and Tarjan, 1983). In a path-balanced BST, whenever an item is accessed, the search path leading to that item is re-arranged into a balanced tree. Despite their simplicity, both algorithms turned out to be difficult to analyse. Fredman et al. showed that operations in multipass pairing heaps take amortized O(log n · log log n/log log log n) time. For searching in path-balanced BSTs, Balasubramanian and Raman showed in 1995 the same amortized time bound of O(log n · log log n/log log log n), using a different argument. In this paper we show an explicit connection between the two algorithms and improve both bounds to O(log n · 2log∗n · log∗ n), respectively O (log n · 2log∗n · (log∗ n)2), where log∗(·) denotes the slowly growing iterated logarithm function. These are the first improvements in more than three, resp. two decades, approaching the information-theoretic lower bound of Ω(log n).
KW - Binary search tree
KW - Data structure
KW - Pairing heap
KW - Priority queue
UR - http://www.scopus.com/inward/record.url?scp=85052492565&partnerID=8YFLogxK
U2 - 10.4230/LIPIcs.ESA.2018.24
DO - 10.4230/LIPIcs.ESA.2018.24
M3 - ???researchoutput.researchoutputtypes.contributiontobookanthology.conference???
AN - SCOPUS:85052492565
SN - 9783959770811
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 26th European Symposium on Algorithms, ESA 2018
A2 - Bast, Hannah
A2 - Herman, Grzegorz
A2 - Azar, Yossi
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 26th European Symposium on Algorithms, ESA 2018
Y2 - 20 August 2018 through 22 August 2018
ER -