最长前缀后缀、next数组、处理步骤 https://www.cnblogs.com/zhangtianq/p/5839909.html https://www.cnblogs.com/SYCstudio/p/7194315.html