Palindromic k-Factorization in Pure Linear Time
Data Structures and Algorithms
2020-07-07 v3
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.
Cite
@article{arxiv.2002.03965,
title = {Palindromic k-Factorization in Pure Linear Time},
author = {Mikhail Rubinchik and Arseny M. Shur},
journal= {arXiv preprint arXiv:2002.03965},
year = {2020}
}
Comments
accepted to MFCS 2020