Abstract
We give an O(n logn)-time, O(n)-space algorithm for factoring a string into the minimum number of palindromic substrings. That is, given a string S[1.n], in O(n logn) time our algorithm returns the minimum number of palindromes S 1,...,Sℓ such that S=S1⋯S ℓ. We also show that the time complexity is O(n) on average and Ω(n logn) in the worst case. The last result is based on a characterization of the palindromic structure of Zimin words.
| Original language | English |
|---|---|
| Pages (from-to) | 41-48 |
| Number of pages | 8 |
| Journal | Journal of Discrete Algorithms |
| Volume | 28 |
| DOIs | |
| State | Published - Sep 2014 |
Keywords
- Factorization
- Palindromes
- String algorithms
Fingerprint
Dive into the research topics of 'A subquadratic algorithm for minimum palindromic factorization'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver