Valid Parentheses
For this question we ask you to determine whether or not a string has valid parentheses.
A string has valid parentheses if each bracket is closed and opened in the same order and has the same type.
Parentheses has 3 types (), {} and []
s = ()
true
This is a valid parentheses sequence.
s = (}
false
This is not valid as } cannot match (.
1 <= s.length <= 100000