Hacker News new | ask | show | jobs
by jibal 219 days ago
.
1 comments

Your solution incorrectly fails ({}). You need the stack.
You're right ... no counter can tell the difference between ({ and {(. Oops.