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

I mean...the naive approach for a prime number check is o(n) which is linear. Probably u've meant constant time?




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

Search: