Which edge case matters for this problem?

Practice this question from Sieve of Eratosthenes - Prime Marking Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

n less than 2 should return no primes.

Option B

Whether intervals overlap

Option C

Whether a linked list has a cycle

Option D

Whether a queue is empty

Explanation

n less than 2 should return no primes.

Sieve of Eratosthenes - Prime Marking Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker