Divine IT interview question

Asked about the Sieve algorithm