https://junwang666.github.io/p/251022_kmp/ #2
Replies: 1 comment 1 reply
-
|
就是在第0个失败时,-1表示不回退,因为无路可退了,要直接去比下一个。如果这里写0会死循环。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://junwang666.github.io/p/251022_kmp/
字符串匹配KMP算法介绍
https://junwang666.github.io/p/251022_kmp/
Beta Was this translation helpful? Give feedback.
All reactions