Valid Parentheses
Given a string s of just ()[]{}, return true if every bracket is closed by the same type in the correct order. The textbook use of a stack: push openers, and on a closer, the top of the stack must be its matching opener.
isValidParens("()[]{}"); // true
isValidParens("(]"); // false
isValidParens("([)]"); // false (wrong order)
isValidParens("{[]}"); // true