Lune

SODA2022Top-tier venue

Selectable Heaps and Optimal Lazy Search Trees

Bryce Sandlund, Lingyi Zhang

2022Year
5Citations

Abstract

We show the O(log n) time extract minimum function of efficient priority queues can be generalized to the extraction of the k smallest elements in O(k log(n k)) time 1 , which we prove optimal for comparisonbased priority queues with o(log n) time insertion. We show heap-ordered tree selection (Kaplan et al., SOSA '19) can be applied on the heap-ordered trees of the classic Fibonacci heap and Brodal queue, in O(k log(n k)) amortized and worst-case time, respectively. We additionally show the deletion of k elements or selection without extraction can be performed on both heaps, also in O(k log(n k)) time. Surprisingly, all operations are possible with no modifications to the original Fibonacci heap and Brodal queue data structures.

We then apply the result to lazy search trees (Sandlund & Wild, FOCS '20), creating a new interval data structure based on selectable heaps. This gives optimal O(B + n) time lazy search tree performance, lowering insertion complexity into a gap ∆i from O(log(n ∆i ) + log log n) to O(log(n ∆i )) time. An O(1) time merge operation is also made possible when used as a priority queue, among other situations. If Brodal queues are used, all runtimes of the lazy search tree can be made worst-case.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext e0d4320b-59df-4ac5-843c-bc221307005e

Builds on1

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines