time limit exceeded in 2 test cases, using array.
Deepak and primes
@rishaseth123 hey risha this question have very large test set so try this question using sieve of eratosthenes algorithm which is available on the number theory section.
it is not available in number theory section of mine.