Bracket Checker

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.

Ramen_Lover912

Posted 2020-02-23T06:42:46.823

Reputation: 19

Question was closed 2020-02-23T06:57:44.763

6

Welcome to the site! Nice question, unfortunately we already have it.

– Jonathan Allan – 2020-02-23T07:02:06.163

No answers