MathWorks interview question

How would I code a program that finds prime numbers.

Interview Answer

Anonymous

20 Sept 2023

I had this algorithm at my uni and I knew both approaches - square root approach and Dyogenous sieve.