All test cases not working
hey @lakshit you are using brute force to check prime numbers but for big numbers it will give you TLE,you have to use sieve of eratosthenes to store prime numbers.
hey @lakshit you are using brute force to check prime numbers but for big numbers it will give you TLE,you have to use sieve of eratosthenes to store prime numbers.