Determine if `s` has valid bracket pairs `()`, `[]`, `{}`. Variant **#17**.
Example 1
Input: s = "]{[())"
Output: false
Constraints
Acceptance: 62% · Topics: stack, string
← All practice problems