最小回文分解的次二次算法
A Subquadratic Algorithm for Minimum Palindromic Factorization
摘要:
我们给出了一个$\mathcal{O}(n \log n)$ -时间、$\mathcal{O}(n)$ -空间的算法,用于将一个字符串分解为最小数目的回文子串。也就是说,给定一个字符串$S [1..n]$,在$\mathcal{O}(n \log n)$时间内,我们的算法返回最小数目的回文$S_1,\ldots, S_\ell$,使得$S = S_1 \cdots S_\ell$。我们还表明,时间复杂度是$\mathcal{O}(n)$的平均值和$Ω(n\log n)$在最坏的情况下。最后一个结果是基于一个表征回文结构的字的话。
英文摘要:
We give an $\mathcal{O}(n \log n)$-time, $\mathcal{O}(n)$-space algorithm for factoring a string into the minimum number of palindromic substrings. That is, given a string $S [1..n]$, in $\mathcal{O}(n \log n)$ time our algorithm returns the minimum number of palindromes $S_1,\ldots, S_\ell$ such that $S = S_1 \cdots S_\ell$. We also show that the time complexity is $\mathcal{O}(n)$ on average and $Ω(n\log n)$ in the worst case. The last result is based on a characterization of the palindromic structure of Zimin words.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。