Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jibal
35 days ago
|
parent
|
context
|
favorite
| on:
A Brutal Look at Balanced Parentheses, Computing M...
No, there's an open [ when the ) is encountered. The problem is the other way around -- my algorithm would report [() as an error. Oops, back to the drawing board. Clearly no counting can tell the difference between [() and ([).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: