摘要: 1 /* 2 descr: 求KMP的next数组 3 param: p 模式串指针 4 param: nLeng 模式串有效字符长度 5 param: next 存放next值的数组,长度为nLeng+1 6 */ 7 void initNextArray(char* p, int n... 阅读全文
posted @ 2018-05-15 17:29 郭流水 阅读(440) 评论(0) 推荐(0) 编辑