Pregunta de entrevista

Entrevista para Senior Software Engineer

-Buenos Aires

MuleSoft

Given a number n, print all primes smaller than or equal to n. It is also given that n is a small number.

Respuesta

Respuesta de la entrevista

1 respuesta

0

I've implemented this one, was the expected output, but the interviewer, which was actually streaming from his dorm, focus only on the fact that I did not answer "Sieve of Eratosthenes, which is used to find all primes smaller than n when n is smaller than 10 million". They actually focused on the dictionary description, even though the implementation was correct, It seems they only care about you correctly memorizing algorithm names and parrot that back, than actually using them correctly. I assume this one was the karat person interviewing me, not Mulesfot itself, but still...

Anónimo en

Agregar respuestas o comentarios

Para comentar esto, Inicia sesión o regístrate.