Deepak and prime


why it is not passing all test cases

Hello @mohitshendre2609

check value of 5000 000th prime number and declare ur sieve size just greater than that.

and then apply ur logic.