結果 : valid parentheses leetcode java without stack