結果 : pattern matching algorithm brute force