Solving balanced parentheses with a dressing room metaphor
Press → or Space to continue
(()())
())()
( )
[ ]
{ }
Action Log
Stack
Single type
Just count!
( ( ) ( ) )
Multiple types
Need a stack!
( [ { } ] )