We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
If you are running something like pypy, you don't worry about trivial noise. You let the compiler make these optimizations for you. Why did you incrementby one? No even number greater than two is prime. Start at three and increment by two.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 25: Running Time and Complexity
You are viewing a single comment's thread. Return to all comments →
If you are running something like pypy, you don't worry about trivial noise. You let the compiler make these optimizations for you. Why did you incrementby one? No even number greater than two is prime. Start at three and increment by two.