Given a string `s` containing only the characters ( ) [ ] { }, determine if the brackets are correctly matched and nested.
Every opening bracket must close in the right order — just like every reagent added must eventually be accounted for.
Input: s = "()[]{}"
Output: true
Input: s = "([)]"
Output: false
Note: The square bracket closes before the round one it contains.
// hit Run to execute the sample tests
// Interactive editor preview. Live code execution arrives with your early-access cohort.