Introduction - If you have any usage issues, please Google them yourself
KMP algorithm implementation, the input string S and the three main pattern string P, the output mode string Next (j) function values, and the P' s position in the S orientation function value, that number value. The length of one of S 15 ~ 25, P length is 5 to 8.