Target Interview Question

Code to find primes upto N