Update 0028.实现strStr.md

This commit is contained in:
lfeng 2021-10-08 10:10:48 +08:00 committed by GitHub
parent 145b5b0c28
commit 42924684ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ next数组就可以是前缀表但是很多实现都是把前缀表统一减
其实**这并不涉及到KMP的原理而是具体实现next数组即可以就是前缀表也可以是前缀表统一减一右移一位初始位置为-1。**
后面我会提供两种不同的实现代码,大家就明白了
后面我会提供两种不同的实现代码,大家就明白了。
# 使用next数组来匹配