Tracks
/
PureScript
PureScript
/
Exercises
/
Matching Brackets
Matching Brackets

Matching Brackets

Medium

Instructions

Given a string containing brackets [], braces {}, parentheses (), or any combination thereof, verify that any and all pairs are matched and nested correctly.


Source

Ginna Baker
Last updated 8 September 2021
Edit via GitHub The link opens in a new window or tab
PureScript Exercism

Ready to start Matching Brackets?

Sign up to Exercism to learn and master PureScript with 28 exercises, and real human mentoring, all for free.