結果 : naïve string matching algorithm has worst case time complexity of