Which edge case matters for this problem?

Practice this question from XOR From 1 to N - Modulo Cycle Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

n % 4 = 2 must return n + 1.

Option B

Whether intervals overlap

Option C

Whether a graph has cycles

Option D

Whether a matrix is square

Explanation

n % 4 = 2 must return n + 1.

XOR From 1 to N - Modulo Cycle Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker