Valid Parentheses — JavaScript easy interview problem
Given a string `s` containing just the characters `'('`, `')'`, `'{``, `'}'`, `'['` and `']'`, determine if the input string is valid. Valid means: open brackets closed by the same type, in the correct order, and every close has a matching open. Example: `isValid("()[]{}")` → `true`.
Tags: stack
Practice this Strings problem free in the JS Interview Playground with automated tests and unlockable solutions.