Given a string containing only parentheses, brackets, and braces, return true when every opening symbol is closed by the same type in the correct order.
An empty stack at the end means every opening symbol was matched.
Inputs = "()[]{}"
Outputtrue
Inputs = "([)]"
Outputfalse
1 ≤ s.length ≤ 10,000