Online List Labeling: Breaking the log^2n Barrier

03/05/2022
by   Michael A. Bender, et al.
0

The online list labeling problem is an algorithmic primitive with a large literature of upper bounds, lower bounds, and applications. The goal is to store a dynamically-changing set of n items in an array of m slots, while maintaining the invariant that the items appear in sorted order, and while minimizing the relabeling cost, defined to be the number of items that are moved per insertion/deletion. For the linear regime, where m = (1 + Θ(1)) n, an upper bound of O(log^2 n) on the relabeling cost has been known since 1981. A lower bound of Ω(log^2 n) is known for deterministic algorithms and for so-called smooth algorithms, but the best general lower bound remains Ω(log n). The central open question in the field is whether O(log^2 n) is optimal for all algorithms. In this paper, we give a randomized data structure that achieves an expected relabeling cost of O(log^3/2 n) per operation. More generally, if m = (1 + ε) n for ε = O(1), the expected relabeling cost becomes O(ε^-1log^3/2 n). Our solution is history independent, meaning that the state of the data structure is independent of the order in which items are inserted/deleted. For history-independent data structures, we also prove a matching lower bound: for all ϵ between 1 / n^1/3 and some sufficiently small positive constant, the optimal expected cost for history-independent list-labeling solutions is Θ(ε^-1log^3/2 n).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2021

An Ω(log n) Lower Bound for Online Matching on the Line

For online matching with the line metric, we present a lower bound of Ω(...
research
08/15/2023

Improved Lower Bound for Estimating the Number of Defective Items

Let X be a set of items of size n that contains some defective items, de...
research
11/01/2020

A Lower Bound for Dynamic Fractional Cascading

We investigate the limits of one of the fundamental ideas in data struct...
research
05/22/2018

Cost-aware Cascading Bandits

In this paper, we propose a cost-aware cascading bandits model, a new va...
research
05/14/2018

Quadratic Time Algorithms Appear to be Optimal for Sorting Evolving Data

We empirically study sorting in the evolving data model. In this model, ...
research
05/17/2023

Online List Labeling with Predictions

A growing line of work shows how learned predictions can be used to brea...
research
07/24/2023

On the Relationship Between Several Variants of the Linear Hashing Conjecture

In Linear Hashing (𝖫𝖧) with β bins on a size u universe 𝒰={0,1,…, u-1}, ...

Please sign up or login with your details

Forgot password? Click here to reset