DEV Community

Discussion on: 10001st prime - Project Euler Soution

Collapse
 
muhimen123 profile image
Muhimen

Trying upto 10001 is not a good idea. And if the constraints go up you might even face TLE. Why don't use sieve?