Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> ..."production ready" version of the solution, that is indeed very close to the original one, including a while loop.

What's missing still is a comprehensive set of test cases to check against.

If such cases were spec'ed to go along with the original code, fthen at least one could have seen the applicability range and perhaps other people would have added some challenging corner cases (just as mentioned in the OP).



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: