Practice · 1 of 1
Balanced Braces
CHALLENGE
Difficulty: beginner+25 XP
Implement is_balanced(text) for () only: every open has a matching close in order. Use a counter (a stack of ints that only ever holds one value).
Press Submit to check your solution.
Back to lesson: Practice: Problem Practice: The Method Applied