Sieve of Eratosthenes - Optimized

Build an optimized solution of implementing the Sieve of Eratosthenes.

We'll cover the following...

Can we still do better than our previous code?

Definitely! Here, we don’t need to check for even numbers. Instead of starting the second loop from 2p, we can start from p2{p^2} ...