結果 : knuth-morris-pratt algorithm explained