Balanced Blocks
You're building a simple syntax checker for a code editor. The function receives a string `code` that may contain bracket characters of three kinds: () [] {}. Brackets are balanced if every opening bracket is closed by the matching kind, in the right order (the innermost bracket closes first). Any o
You're building a simple syntax checker for a code editor. The function receives a string `code` that may contain bracket characters of three kinds: () [] {}. Brackets are balanced if every opening bracket is closed by the matching kind, in the right order (the innermost bracket closes first). Any o