Hacker News new | ask | show | jobs
by Pete_D 2383 days ago
This looks fun. I'm stuck on the first one though. "Verify" says my solution works, but when I submit, it says my code failed a test case. Is this intentional, and I failed some hidden test that isn't given in the examples?
1 comments

Yea, there are a few hidden test cases so people don't hardcode in the answers. A quick hint for the first one is to use a stack, it makes the question much easier.