結果 : check if substring in string leetcode