Pregunta de entrevista de Intel Corporation

Write Code: Print the first 100 primes.

Respuesta de la entrevista

Anónimo

20 de sept de 2020

(Wrote in python format, keeping a counter of primes printed, and counting upwards, checking if each number is prime by using a loop with range(2, sqrt(num)) and rejecting if the num % i != 0)