English

Fast Preprocessing for Optimal Orthogonal Range Reporting and Range Successor with Applications to Text Indexing

Data Structures and Algorithms 2020-06-23 v1

Abstract

Under the word RAM model, we design three data structures that can be constructed in O(nlgn)O(n\sqrt{\lg n}) time over nn points in an n×nn \times n grid. The first data structure is an O(nlgϵn)O(n\lg^{\epsilon} n)-word structure supporting orthogonal range reporting in O(lglgn+k)O(\lg\lg n+k) time, where kk denotes output size and ϵ\epsilon is an arbitrarily small constant. The second is an O(nlglgn)O(n\lg\lg n)-word structure supporting orthogonal range successor in O(lglgn)O(\lg\lg n) time, while the third is an O(nlgϵn)O(n\lg^{\epsilon} n)-word structure supporting sorted range reporting in O(lglgn+k)O(\lg\lg n+k) time. The query times of these data structures are optimal when the space costs must be within O(n polylog n)O(n\ polylog\ n) words. Their exact space bounds match those of the best known results achieving the same query times, and the O(nlgn)O(n\sqrt{\lg n}) construction time beats the previous bounds on preprocessing. Previously, among 2d range search structures, only the orthogonal range counting structure of Chan and P\v{a}tra\c{s}cu (SODA 2010) and the linear space, O(lgϵn)O(\lg^{\epsilon} n) query time structure for orthogonal range successor by Belazzougui and Puglisi (SODA 2016) can be built in the same O(nlgn)O(n\sqrt{\lg n}) time. Hence our work is the first that achieve the same preprocessing time for optimal orthogonal range reporting and range successor. We also apply our results to improve the construction time of text indexes.

Keywords

Cite

@article{arxiv.2006.11978,
  title  = {Fast Preprocessing for Optimal Orthogonal Range Reporting and Range Successor with Applications to Text Indexing},
  author = {Younan Gao and Meng He and Yakov Nekrich},
  journal= {arXiv preprint arXiv:2006.11978},
  year   = {2020}
}