TL;DR
This paper establishes a novel connection between self-adjusting binary search trees and heaps, introduces the smooth heap algorithm, and initiates a theory of dynamic optimality for heaps based on this relationship.
Contribution
It provides the first general transformation between BSTs and heaps, introduces the smooth heap, and transfers the dynamic optimality theory from BSTs to heaps.
Findings
Smooth heap is simple, efficient, and extends pairing heaps.
The connection allows transferring lower bounds from BSTs to heaps.
Assuming Greedy's optimality, smooth heap is also optimal.
Abstract
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundamental, extensively studied, and practically relevant families of data structures. Roughly speaking, we map an arbitrary heap algorithm within a natural model, to a corresponding BST algorithm with the same cost on a dual sequence of operations (i.e. the same sequence with the roles of time and key-space switched). This is the first general transformation between the two families of data structures. There is a rich theory of dynamic optimality for BSTs (i.e. the theory of competitiveness between BST algorithms). The lack of an analogous theory for heaps has been noted in the literature. Through our connection, we transfer all instance-specific lower bounds known for BSTs to a general model of heaps, initiating a theory of dynamic optimality for heaps. On the algorithmic side, we obtain…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
