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

No, you are right. In an effort to keep it O(n), I introduced a potential bug. Abecedarius's solution is more correct.


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

Search: