This paper studies two problems on compressed strings described in terms of straight line programs (SLPs). One is to compute the length of the longest common substring of two given SLP-compressed strings, and the other is to compute all palindromes of a given SLP-compressed string. In order to solve these problems efficiently (in polynomial time w.r.t. the compressed size) decompression is never feasible, since the decompressed size can be exponentially large. We develop combinatorial algorithms that solve these problems in O (n4 log n) time with O (n3) space, and in O (n4) time with O (n2) space, respectively, where n is the size of the input SLP-compressed strings. © 2008 Elsevier B.V. All rights reserved.
Matsubara, W., Inenaga, S., Ishino, A., Shinohara, A., Nakamura, T., & Hashimoto, K. (2009). Efficient algorithms to compute compressed longest common substrings and compressed palindromes. Theoretical Computer Science, 410(8–10), 900–913. https://doi.org/10.1016/j.tcs.2008.12.016