English

Random input helps searching predecessors

Data Structures and Algorithms 2011-04-25 v1

Abstract

We solve the dynamic Predecessor Problem with high probability (whp) in constant time, using only n1+δn^{1+\delta} bits of memory, for any constant δ>0\delta > 0. The input keys are random wrt a wider class of the well studied and practically important class of (f1,f2)(f_1, f_2)-smooth distributions introduced in \cite{and:mat}. It achieves O(1) whp amortized time. Its worst-case time is O(lognloglogn)O(\sqrt{\frac{\log n}{\log \log n}}). Also, we prove whp O(logloglogn)O(\log \log \log n) time using only n1+1loglogn=n1+o(1)n^{1+ \frac{1}{\log \log n}}= n^{1+o(1)} bits. Finally, we show whp O(loglogn)O(\log \log n) time using O(n) space.

Keywords

Cite

@article{arxiv.1104.4353,
  title  = {Random input helps searching predecessors},
  author = {D. Belazzougui and A. C. Kaporis and P. G. Spirakis},
  journal= {arXiv preprint arXiv:1104.4353},
  year   = {2011}
}
R2 v1 2026-06-21T17:57:33.857Z