TLE in Last Case, I had created sieve but still TLE in Last case
Prateek loves Candy, Last TC shows TLE
hello @naivecoder010
store all prime numbers upto 10^6 in some array and then to print nth prime number, print value at index n-1 of that array.
Hello, I did same, Sorry forgot to add code, Please look it,
see store prime numbers before running ur while loop.
Okay, got it thanks.