https://oj.leetcode.com/problems/valid-parentheses/