Which edge case matters for this problem?
Practice this question from Binary Exponentiation - Fast Power Pattern Practice Quiz, with options and an explanation.
Question
Which edge case matters for this problem?
Option A — Correct answer
exp = 0 should return 1 modulo mod.
Option B
Whether intervals overlap
Option C
Whether a linked list has a cycle
Option D
Whether a queue is empty
Explanation
exp = 0 should return 1 modulo mod.