Lune

SODA2022Top-tier venue

Selectable Heaps and Optimal Lazy Search Trees

Bryce Sandlund, Lingyi Zhang

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Lazy Search TreesBryce Sandlund, Sebastian WildFOCS 2020 · 1 citation

Related papers

  1. A Tight Analysis of Slim Heaps and Smooth HeapsCorwin Sinnamon, Robert E. TarjanSODA 2023 · 3 citations
  2. Universal Optimality of Dijkstra Via Beyond-Worst-Case HeapsBernhard Haeupler, Richard Hladík, Václav Rozhon, Robert E. Tarjan et al.FOCS 2024 · 33 citations
  3. Non-blocking interpolation search trees with doubly-logarithmic running timeTrevor Brown, Aleksandar Prokopec, Dan AlistarhPPoPP 2020 · 29 citations
  4. Succinct Dynamic Rank/Select: Bypassing the Tree-Structure BottleneckWilliam Kuszmaul, Jingxun Liang, Renfei ZhouSODA 2026 · 1 citation
  5. Finding the Best of Both Worlds: Faster and More Robust Top-k Document RetrievalOmar Khattab, Mohammad Hammoud, Tamer ElsayedSIGIR 2020 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines