Which edge case matters for this problem?
Practice this question from GCD - Euclidean Remainder Pattern Practice Quiz, with options and an explanation.
Question
Which edge case matters for this problem?
Option A — Correct answer
gcd(a,0) should return absolute value of a.
Option B
Whether intervals overlap
Option C
Whether a linked list has a cycle
Option D
Whether a queue is empty
Explanation
gcd(a,0) should return absolute value of a.