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