A nearly optimal randomized algorithm for explorable heap selection A nearly optimal randomized algorithm

Explorable heap selection is the problem of selecting the n th smallest value in a binary heap. The key values can only be accessed by traversing through the underlying infinite binary tree, and the complexity of the algorithm is measured by the total distance traveled in the tree (each edge has uni...

Full description

Saved in:
Bibliographic Details
Published inMathematical programming Vol. 210; no. 1; pp. 75 - 96
Main Authors Borst, Sander, Dadush, Daniel, Huiberts, Sophie, Kashaev, Danish
Format Journal Article
LanguageEnglish
Published Berlin/Heidelberg Springer Berlin Heidelberg 01.03.2025
Subjects
Online AccessGet full text
ISSN0025-5610
1436-4646
DOI10.1007/s10107-024-02145-5

Cover

More Information
Summary:Explorable heap selection is the problem of selecting the n th smallest value in a binary heap. The key values can only be accessed by traversing through the underlying infinite binary tree, and the complexity of the algorithm is measured by the total distance traveled in the tree (each edge has unit cost). This problem was originally proposed as a model to study search strategies for the branch-and-bound algorithm with storage restrictions by Karp, Saks and Widgerson (FOCS ’86), who gave deterministic and randomized n · exp ( O ( log n ) ) time algorithms using O ( log ( n ) 2.5 ) and O ( log n ) space respectively. We present a new randomized algorithm with running time O ( n log ( n ) 3 ) against an oblivious adversary using O ( log n ) space, substantially improving the previous best randomized running time at the expense of slightly increased space usage. We also show an Ω ( log ( n ) n / log ( log ( n ) ) ) lower bound for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.
ISSN:0025-5610
1436-4646
DOI:10.1007/s10107-024-02145-5