Solvent comments on Quixey Challenge - Fix a bug in 1 minute, win $100. Refer a winner, win $50. - Less Wrong Discussion
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (51)
Isn't the "return depth == 0" solution simpler and so superior? (That's a question, I don't actually know Python that well.)
A point of taste. My solution makes it explicit what is being checked for: Unclosed parens.