来源:https://stackoverflow.com/questions/60853582/why-how-does-the-longest-proper-prefix-suffix-algorithm-work 标签 arrays algorithm prefix suffix knuth-morris-pratt