結果 : explain knuth-morris-pratt algorithm