相关链接:
KMP算法详解:https://blog.csdn.net/x__1998/article/details/79951598
经典算法KMP:https://www.cnblogs.com/c-cloud/p/3224788.html
KMP的next数组详解:https://blog.csdn.net/yutong5818/article/details/81319120
原文:https://www.cnblogs.com/grooovvve/p/10369672.html