算法 | Manacher

Manacher (manachar, 马拉车):在 $O(n)$ 时间内计算一个字符串内所有回文子串的算法。

- 阅读剩余部分 -