結果 : best case time complexity of naive string matching algorithm