Abstract
Given a string of length over a general alphabet and an integer , the problem is to decide whether is a concatenation of nonempty palindromes. Two previously known solutions for this problem work in time and respectively. Here we settle the complexity of this problem in the word-RAM model, presenting an -time online deciding algorithm. The algorithm simultaneously finds the minimum odd number of factors and the minimum even number of factors in a factorization of a string into nonempty palindromes. We also demonstrate how to get an explicit factorization of into palindromes with an -time offline postprocessing.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.