結果 : naive string matching algorithm complexity