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 条
  • [1] A Linear-Space Data Structure for Range-LCP Queries in Poly-Logarithmic Time
    Abedin, Paniz
    Ganguly, Arnab
    Hon, Wing-Kai
    Nekrich, Yakov
    Sadakane, Kunihiko
    Shah, Rahul
    Thankachan, Sharma V.
    COMPUTING AND COMBINATORICS (COCOON 2018), 2018, 10976 : 615 - 625
  • [2] A linear-space data structure for range-LCP queries in poly-logarithmic time
    Abedin, Paniz
    Ganguly, Arnab
    Hon, Wing-Kai
    Matsuda, Kotaro
    Nekrich, Yakov
    Sadakane, Kunihiko
    Shah, Rahul
    Thankachan, Sharma, V
    THEORETICAL COMPUTER SCIENCE, 2020, 822 : 15 - 22
  • [3] A LINEAR SPACE DATA STRUCTURE FOR ORTHOGONAL RANGE REPORTING AND EMPTINESS QUERIES
    Nekrich, Yakov
    INTERNATIONAL JOURNAL OF COMPUTATIONAL GEOMETRY & APPLICATIONS, 2009, 19 (01) : 1 - 15
  • [4] Range LCP Queries Revisited
    Amir, Amihood
    Lewenstein, Moshe
    Thankachan, Sharma V.
    STRING PROCESSING AND INFORMATION RETRIEVAL (SPIRE 2015), 2015, 9309 : 350 - 361
  • [5] Faster Range LCP Queries
    Patil, Manish
    Shah, Rahul
    Thankachan, Sharma V.
    STRING PROCESSING AND INFORMATION RETRIEVAL (SPIRE 2013), 2013, 8214 : 263 - 270
  • [6] Linear-Space Data Structures for Range Frequency Queries on Arrays and Trees
    Durocher, Stephane
    Shah, Rahul
    Skala, Matthew
    Thankachan, Sharma V.
    ALGORITHMICA, 2016, 74 (01) : 344 - 366
  • [7] Linear-Space Data Structures for Range Frequency Queries on Arrays and Trees
    Durocher, Stephane
    Shah, Rahul
    Skala, Matthew
    Thankachan, Sharma V.
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2013, 2013, 8087 : 325 - 336
  • [8] Linear-Space Data Structures for Range Frequency Queries on Arrays and Trees
    Stephane Durocher
    Rahul Shah
    Matthew Skala
    Sharma V. Thankachan
    Algorithmica, 2016, 74 : 344 - 366
  • [9] A DATA STRUCTURE FOR DYNAMIC-RANGE QUERIES
    LUEKER, GS
    WILLARD, DE
    INFORMATION PROCESSING LETTERS, 1982, 15 (05) : 209 - 213
  • [10] Range Selection Queries in Data Aware Space and Time
    Kulekei, M. Oguzhan
    Thankachan, Sharma V.
    2015 DATA COMPRESSION CONFERENCE (DCC), 2015, : 73 - 82