Hi, can anyone tell me why one test case is failing
1 test case failing
hello @Parikalp10
increase ur sieve array size.
first check what can be the maximum possible value of n and then find nth prime number (using internet).
and then declare ur sive size greater than that prime number.
1 Like