1
Given a string of brackets tell the user whether or not the brackets are well matched or not. Brackets include []{}(). For example:
() <---- Well Matched
([{}][]) <---- Well Matched
({)} <---- Not Well Matched
({]) <----- Not Well Matched
This is a code-golf challenge so as always the shortest solution wins.
6
Welcome to the site! Nice question, unfortunately we already have it.
– Jonathan Allan – 2020-02-23T07:02:06.163