Hacker News new | ask | show | jobs
by Snuggly73 163 days ago
I mean...the naive approach for a prime number check is o(n) which is linear. Probably u've meant constant time?