### 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(n^{4} log n) time with O(n3) space, and in O(n ^{4}) time with O(n^{2}) space, respectively, where n is the size of the input SLP-compressed strings.

Original language | English |
---|---|

Title of host publication | SOFSEM 2008: Theory and Practice of Computer Science - 34th Conference on Current Trends in Theory and Practice of Computer Science, Proceedings |

Pages | 364-375 |

Number of pages | 12 |

Volume | 4910 LNCS |

Publication status | Published - 2008 |

Event | SOFSEM 2008 - 34th Conference on Current Trends in Theory and Practice of Computer Science - Novy Smokovec, Slovakia Duration: Jan 19 2008 → Jan 25 2008 |

### Publication series

Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|

Volume | 4910 LNCS |

ISSN (Print) | 03029743 |

ISSN (Electronic) | 16113349 |

### Other

Other | SOFSEM 2008 - 34th Conference on Current Trends in Theory and Practice of Computer Science |
---|---|

Country | Slovakia |

City | Novy Smokovec |

Period | 1/19/08 → 1/25/08 |

### All Science Journal Classification (ASJC) codes

- Computer Science(all)
- Biochemistry, Genetics and Molecular Biology(all)
- Theoretical Computer Science

## Fingerprint Dive into the research topics of 'Computing longest common substring and all palindromes from compressed strings'. Together they form a unique fingerprint.

## Cite this

*SOFSEM 2008: Theory and Practice of Computer Science - 34th Conference on Current Trends in Theory and Practice of Computer Science, Proceedings*(Vol. 4910 LNCS, pp. 364-375). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 4910 LNCS).