Introduction - If you have any usage issues, please Google them yourself
KMP algorithm is an improved string matching algorithm, the key KMP algorithm is the use of information after the match fails, try to reduce the pattern string matching the number of the main strings to achieve fast matching purposes.