Department of Computer Science
Under the word RAM model, we design three data structures that can be constructed in O(n√lg n) time over n points in an n×n grid. The first data structure is an O(n lg n)-word structure supporting orthogonal range reporting in O(lg lg n + k) time, where k denotes output size and is an arbitrarily small constant. The second is an O(n lg lg n)-word structure supporting orthogonal range successor in O(lg lg n) time, while the third is an O(n lg n)-word structure supporting sorted range reporting in 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) words. Their exact space bounds match those of the best known results achieving the same query times, and the O(n√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ǎtraşcu (SODA 2010) and the linear space, O(lg n) query time structure for orthogonal range successor by Belazzougui and Puglisi (SODA 2016) can be built in the same O(n√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.
Leibniz International Proceedings in Informatics, LIPIcs
Fast preprocessing for optimal orthogonal range reporting and range successor with applications to text indexing.
Leibniz International Proceedings in Informatics, LIPIcs,
Retrieved from: https://digitalcommons.mtu.edu/michigantech-p/14423
Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.