DEV Community

Discussion on: Best way to get all prime numbers (Sieve of Eratosthenes)

Collapse
 
lurb3 profile image
lurb3

Honest question, what is the purpose of these interview questions?
To test if you can come up with an ancient solution that probably took some time to figure out.

Or to test if you can memorize an algorithm that you've seen on the internet that you know it's typical interview question and vomit it during the interview?

I am sorry but I don't get why people make "puzzle" questions like fizzbuzz and whatever, oh and they don't let you use internet... Because when you code you never use internet

Well anyway, thanks for your explanation