Deep Dive

Stack: Valid Parentheses

20. Valid Parentheses · Stacks & Queues · 22 of 78

1/8

Do the brackets match?

({[]})
In this lessonStep 1 of 8 · ← → keys
The question

Check whether brackets are balanced and correctly nested.