https://en.wikipedia.org/wiki/Dyck_language
Examples on the left are also known as "Dyck words".
Nested pairs of brackets vs. other arrangement of brackets (some open brackets are not closed or there are extra closing brackets).
Nested pairs of brackets vs. other arrangement of brackets (some open bracket is not closed or there are extra closing brackets).
Aaron David Fairbanks