please check my code, I am unable to find the error
Prime generator
Please check my doubt
Hey @Ajitverma1503,
You are using the Sieve of Eratosthenes approach, this approach will give TLE on big numbers. Try with another approach else your code will work for small numbers (numbers < 10^7).
Please suggest some better approach
code link is not opening