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.
Tags:
logic, analytical, algorithm
Answer

Interview Answer

2 Answers

0

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
0

Use sieve of eratosthenes algo

Anonymous on Dec 13, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.