Given a string containing brackets []
, braces {}
, parentheses ()
,
or any combination thereof, verify that any and all pairs are matched
and nested correctly.
Sign up to Exercism to learn and master Delphi Pascal with 76 exercises, and real human mentoring, all for free.