Week 3 · Day 15 of 42

Stack: Matching Brackets / Parentheses

Push opening brackets onto the stack. On closing bracket, pop and check if it matches.

Checking access

Spotted a mistake on this page?

Wrong formula, broken animation or confusing wording. Tell us and we will fix it.