After reading this, you will basically count the next array of kmp algorithm.

NoSuchKey

Guess you like

Origin blog.csdn.net/m0_46833224/article/details/114094031