Given a string containing only (, ), {, }, [ and ], determine if the input string is valid.
Practise this challenge
All coding challenges