Easy
Check whether a string of brackets is balanced.
Given a string containing only parentheses and bracket characters, determine whether every opening symbol is closed in the correct order.
Examples
Input: s = "()[]{}"
Output: true
Constraints
- 0 <= s.length
- Characters are only ()[]{}