TY - JOUR
T1 - Range LCP
AU - Amir, Amihood
AU - Apostolico, Alberto
AU - Landau, Gad M.
AU - Levy, Avivit
AU - Lewenstein, Moshe
AU - Porat, Ely
PY - 2014/11
Y1 - 2014/11
N2 - In this paper, we define the Range LCP problem as follows. Preprocess a string S, of length n, to enable efficient solutions of the following query: Given [i,j], 0ℓ,k[i..j]LCP(S ℓ,Sk), where LCP(Sℓ,Sk) is the length of the longest common prefix of the suffixes of S starting at locations ℓ and k. This is a natural generalization of the classical LCP problem. We provide algorithms with the following complexities: Preprocessing Time: O(|S|), Space: O(|S|), Query Time: O(|j-i|loglogn).Preprocessing Time: none, Space: O(|j-i|log|j-i|), Query Time: O(|j-i|log|j-i|). However, the query just gives the pairs with the longest LCP, not the LCP itself.Preprocessing Time: O(|S|log2|S|), Space: O(|S|log1+ε|S|) for arbitrary small constant ε, Query Time: O(loglog|S|).
AB - In this paper, we define the Range LCP problem as follows. Preprocess a string S, of length n, to enable efficient solutions of the following query: Given [i,j], 0ℓ,k[i..j]LCP(S ℓ,Sk), where LCP(Sℓ,Sk) is the length of the longest common prefix of the suffixes of S starting at locations ℓ and k. This is a natural generalization of the classical LCP problem. We provide algorithms with the following complexities: Preprocessing Time: O(|S|), Space: O(|S|), Query Time: O(|j-i|loglogn).Preprocessing Time: none, Space: O(|j-i|log|j-i|), Query Time: O(|j-i|log|j-i|). However, the query just gives the pairs with the longest LCP, not the LCP itself.Preprocessing Time: O(|S|log2|S|), Space: O(|S|log1+ε|S|) for arbitrary small constant ε, Query Time: O(loglog|S|).
KW - Data structures
KW - LCP
KW - Pattern matching
UR - http://www.scopus.com/inward/record.url?scp=84901815670&partnerID=8YFLogxK
U2 - 10.1016/j.jcss.2014.02.010
DO - 10.1016/j.jcss.2014.02.010
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:84901815670
SN - 0022-0000
VL - 80
SP - 1245
EP - 1253
JO - Journal of Computer and System Sciences
JF - Journal of Computer and System Sciences
IS - 7
ER -