結果 : time and space complexity of naive string matching algorithm