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

I remembered this puzzle from HPMOR, but either way this is just writing a unit test.


Having just re-read HPMOR a few weeks ago, I could answer it right away, but there was actually a difference from HPMOR's version, which required three positive increasing numbers, while this allowed negatives.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: