A nearly optimal randomized algorithm for explorable heap selection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Borst, Sander, Dadush, Daniel, Huiberts, Sophie, Kashaev, Danish
Format: Preprint
Publié: 2022
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913497201246208
author Borst, Sander
Dadush, Daniel
Huiberts, Sophie
Kashaev, Danish
author_facet Borst, Sander
Dadush, Daniel
Huiberts, Sophie
Kashaev, Danish
contents 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\cdot \exp(O(\sqrt{\log{n}}))$ time algorithms using $O(\log(n)^{2.5})$ and $O(\sqrt{\log n})$ space respectively. We present a new randomized algorithm with running time $O(n\log(n)^3)$ 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)))$ for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.
format Preprint
id arxiv_https___arxiv_org_abs_2210_05982
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle A nearly optimal randomized algorithm for explorable heap selection
Borst, Sander
Dadush, Daniel
Huiberts, Sophie
Kashaev, Danish
Data Structures and Algorithms
Optimization and Control
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\cdot \exp(O(\sqrt{\log{n}}))$ time algorithms using $O(\log(n)^{2.5})$ and $O(\sqrt{\log n})$ space respectively. We present a new randomized algorithm with running time $O(n\log(n)^3)$ 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)))$ for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.
title A nearly optimal randomized algorithm for explorable heap selection
topic Data Structures and Algorithms
Optimization and Control
url https://arxiv.org/abs/2210.05982