結果 : 20 valid parentheses leetcode solution python