結果 : repeated substring pattern leetcode solution