Efficient algorithms to compute compressed longest common substrings and compressed palindromes

Wataru Matsubara, Shunsuke Inenaga, Akira Ishino, Ayumi Shinohara, Tomoyuki Nakamura, Kazuo Hashimoto

Research output: Contribution to journalArticlepeer-review

49 Citations (Scopus)

Abstract

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.

Original languageEnglish
Pages (from-to)900-913
Number of pages14
JournalTheoretical Computer Science
Volume410
Issue number8-10
DOIs
Publication statusPublished - Mar 1 2009

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint

Dive into the research topics of 'Efficient algorithms to compute compressed longest common substrings and compressed palindromes'. Together they form a unique fingerprint.

Cite this