Loading Company...
This is a verified interview question from Meesho. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Prime Numbers in Range" covers key patterns like Other.
"Given T <= 10000 testcases. For each testcase given L,R Find the no. of primes p where p+2 is a prime or in the form x*y where x, y are primes(not necessarily distinct) in the range L,R. R<= 1000000"
Join thousands of developers practicing for Meesho.