Exercises/#113 Check Balanced Brackets
#113

Check Balanced Brackets

EasyπŸ“š Stack & Queue
40 XP

Problem

Given a string with only brackets '(', ')', '[', ']', '{', '}', determine if it is balanced.

Examples

Input: s = '({[]})'
Output: true

Input: s = '([)]'
Output: false
stackstring
AI Assistantβ€” powered by AI

Unlock hints progressively β€” start gentle, go deeper only if needed.

πŸ’‘

Level 1: Gentle Nudge

A subtle direction

πŸ—ΊοΈ

Level 2: Approach

The algorithm to use

πŸ”

Level 3: Detailed

Step-by-step guidance

113 / 150

Your Solution

⚑ JavaScript

to save progress and use AI features