結果 : naive string matching algorithm leetcode