Fast Enterprises interview question

Write a program to find the first 100 primes, using a function isPrime()

Interview Answer

Anonymous

17 Apr 2017

the interviewer recommended after reviewing my answer, that the best method would be to simply check %2 and %3 for (0, n/2)