結果 : length of longest valid substring leetcode