Improved bounds for multipass pairing heaps and path-balanced binary search trees

06/22/2018
by   Dani Dorfman, et al.
0

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 (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(n·n / n) time. For searching in path-balanced BSTs, Balasubramanian and Raman showed in 1995 the same amortized time bound of O(n·n / n), using a different argument. In this paper we show an explicit connection between the two algorithms and improve the two bounds to O(n· 2^^∗n·^∗n), respectively O(n· 2^^∗n· (^∗n)^2 ), where ^∗(·) denotes the very slowly growing iterated logarithm function. These are the first improvements in more than three, resp. two decades, approaching in both cases the information-theoretic lower bound of Ω(n).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/12/2021

Embedding perfectly balanced 2-caterpillar into its optimal hypercube

A long-standing conjecture on spanning trees of a hypercube states that ...
research
12/20/2019

Improved Upper and Lower Bounds for LR Drawings of Binary Trees

In SODA'99, Chan introduced a simple type of planar straight-line upward...
research
08/12/2020

Soft Sequence Heaps

Chazelle [JACM00] introduced the soft heap as a building block for effic...
research
09/16/2022

Fast approximation of search trees on trees with centroid trees

Search trees on trees (STTs) generalize the fundamental binary search tr...
research
10/17/2019

Engineering Top-Down Weight-Balanced Trees

Weight-balanced trees are a popular form of self-balancing binary search...
research
01/03/2018

Slowing Down Top Trees for Better Worst-Case Bounds

We consider the top tree compression scheme introduced by Bille et al. [...
research
07/15/2019

Splaying Preorders and Postorders

Let T be a binary search tree. We prove two results about the behavior o...

Please sign up or login with your details

Forgot password? Click here to reset