A Subquadratic Algorithm for Minimum Palindromic Factorization
Abstract
We give an O(n n)-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 n) time our algorithm returns the minimum number of palindromes S1,…, S such that S = S1 ·s S. We also show that the time complexity is O(n) on average and (n n) in the worst case. The last result is based on a characterization of the palindromic structure of Zimin words.
0
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.