LeetCode

Valid Parentheses

Click here for an explanation.