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

Technically, your code runs in O(n^2), as O(n) is a part of O(n^2). Still, he should have accepted the more precise answer O(n).


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

Search: