A good practice of stack problems.
Description
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
s
'('
')'
'{'
'}'
'['
']'