A nearly optimal randomized algorithm for explorable heap selection

10/12/2022
by   Sander Borst, et al.
0

Explorable heap selection is the problem of selecting the nth 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(√(logn))) time algorithms using O(log(n)^2.5) and O(√(log n)) space respectively. We present a new randomized algorithm with running time O(nlog(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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/09/2023

Fast algorithms for Vizing's theorem on bounded degree graphs

Vizing's theorem states that every graph G of maximum degree Δ can be pr...
research
11/07/2020

Fast Low-Space Algorithms for Subset Sum

We consider the canonical Subset Sum problem: given a list of positive i...
research
08/30/2022

Unbalancing Binary Trees

Assuming Zipf's Law to be accurate, we show that existing techniques for...
research
03/11/2018

Reproducibility and Pseudo-Determinism in Log-Space

A curious property of randomized log-space search algorithms is that the...
research
10/16/2018

Nearly Optimal Space Efficient Algorithm for Depth First Search

We design a space-efficient algorithm for performing depth-first search ...
research
06/07/2021

Energy-Efficient Naming in Beeping Networks

A single-hop beeping network is a distributed communication model in whi...
research
12/12/2021

Maintaining AUC and H-measure over time

Measuring the performance of a classifier is a vital task in machine lea...

Please sign up or login with your details

Forgot password? Click here to reset