A Linear Space Data Structure for Range LCP Queries

被引:4
|
作者
Ganguly, Arnab [1 ]
Patil, Manish [2 ]
Shah, Rahul [3 ]
Thankachan, Sharma V. [4 ]
机构
[1] Univ Wisconsin, Dept Comp Sci, Whitewater, WI 53190 USA
[2] Facebook Inc, Menlo Pk, CA USA
[3] Louisiana State Univ, Dept Comp Sci, Baton Rouge, LA 70803 USA
[4] Univ Cent Florida, Dept Comp Sci, 117 Harris Ctr Bldg 116,4000 Cent Florida Blvd, Orlando, FL 32816 USA
关键词
String Algorithms; Suffix Trees; Range Query;
D O I
10.3233/FI-2018-1741
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Range LCP ( longest common prefix) is an extension of the classical LCP problem and is defined as follows: Preprocess a string S[1...n] of n characters, such that whenever an interval [i, j] comes as a query, we can report max{vertical bar LCP(S-p, S-q) vertical bar vertical bar i <= p < q <= j} Here LCP(S-p, S-q) is the longest common prefix of the suffixes of S starting at locations p and q, and vertical bar LCP(S-p, S-q)j is its length. This problem was first addressed by Amir et al. [ISAAC, 2011]. They showed that the query can be answered in O(log log n) time using an O(n log(1+epsilon) n) space data structure for an arbitrarily small constant epsilon > 0. In an attempt to reduce the space bound, they presented a linear space data structure of O(d log log n) query time, where d = (j-i+1) In this paper, we present a new linear space data structure with an improved query time of O (root dlog d/(log n)(1/2-epsilon)).
引用
收藏
页码:245 / 251
页数:7
相关论文
共 50 条
  • [21] cBiK: A Space-Efficient Data Structure for Spatial Keyword Queries
    Sanjuan-Contreras, Carlos E.
    Gutierrez Retamal, Gilberto
    Martinez-Prieto, Miguel A.
    Seco, Diego
    IEEE ACCESS, 2020, 8 (08): : 98827 - 98846
  • [22] NUMBER OF RANGE QUERIES IN K-SPACE
    SAXE, JB
    DISCRETE APPLIED MATHEMATICS, 1979, 1 (03) : 217 - 225
  • [23] Opportunistic data structures for range queries
    Poon, CK
    Yiu, WK
    COMPUTING AND COMBINATORICS, PROCEEDINGS, 2005, 3595 : 560 - 569
  • [24] Range Queries on Two Column Data
    Yang, Ce
    Zhang, Weiming
    Yu, Nenghai
    2017 IEEE SECOND INTERNATIONAL CONFERENCE ON DATA SCIENCE IN CYBERSPACE (DSC), 2017, : 578 - 584
  • [25] A data cube for range queries and approximate queries in dynamic environments
    Shi, Zhi-Bin
    Wang, Bao-Min
    ISTM/2007: 7TH INTERNATIONAL SYMPOSIUM ON TEST AND MEASUREMENT, VOLS 1-7, CONFERENCE PROCEEDINGS, 2007, : 1587 - 1590
  • [26] Opportunistic data structures for range queries
    Chung Keung Poon
    Wai Keung Yiu
    Journal of Combinatorial Optimization, 2006, 11 : 145 - 154
  • [27] Opportunistic data structures for range queries
    Poon, CK
    Yiu, WK
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2006, 11 (02) : 145 - 154
  • [28] Range queries in massively distributed data
    Villamil, Maria-Del-Pilar
    Roncancio, Claudia
    Labbe, Cyril
    SEVENTEENTH INTERNATIONAL CONFERENCE ON DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2006, : 256 - +
  • [29] ON THE DATA DISTRIBUTION PROBLEMS FOR RANGE QUERIES
    KIM, MH
    PRAMANIK, S
    PROCEEDINGS OF THE 1989 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, VOL 1: ARCHITECTURE, 1989, : I91 - I94
  • [30] Data Structures for Range Median Queries
    Brodal, Gerth Stolting
    Jorgensen, Allan Gronlund
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2009, 5878 : 822 - 831