Capital One interview question

Leetcode Count primes, looking for optimal solution