Pregunta de entrevista de Google

write an efficient code for finding the prime numbers