StringsEasy
What pattern does this problem use?
A code formatter needs to verify that all grouping symbols in a line are correctly nested and closed. Given a string made of `(`, `)`, `{`, `}`, `[`, and `]`, return true if every opening symbol is matched by the correct closing symbol in the right order, false otherwise.
Example: "({[]})" → true. "([)]" → false (the inner brackets close in the wrong order).
Pick a pattern: