Given a string containing only ()[]{}, determine whether it is properly nested. A valid string must close brackets in the correct order and with matching types.
s = "()[]{}"OutputtrueWhyAll brackets match correctly.s = "([)]"OutputfalseWhyThe nesting order is invalid.`1 <= s.length <= 10^4``s` contains only bracket charactersReturn a boolean