Which edge case matters for this problem?
Practice this question from Find First and Last Position - Boundary Binary Search Pattern Practice Quiz, with options and an explanation.
Question
Which edge case matters for this problem?
Option A — Correct answer
An empty array should return [-1,-1].
Option B
Whether the graph has a cycle
Option C
Whether the string has vowels
Option D
Whether a linked list has a dummy node
Explanation
An empty array should return [-1,-1].