Folio3 Interview Question: Design a program to list down... | Glassdoor

Interview Question

Trainee Engineer Interview(Student Candidate) Karāchi (Pakistan)

Design a program to list down all Prime numbers before a

  given number.
logic, analytical, algorithm

Interview Answer

2 Answers


This was an algorithm. The interviewer is not looking for a correct answer but for the programming approach that you apply.

Interview Candidate on Jun 24, 2012

Use sieve of eratosthenes algo

Anonymous on Dec 13, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.