Which edge case matters for this problem?
Practice this question from Median Finder - Two Heaps Pattern Practice Quiz, with options and an explanation.
Question
Which edge case matters for this problem?
Option A — Correct answer
Even count should return the average of two middle values.
Option B
Whether the graph is connected
Option C
Whether a string has vowels
Option D
Whether a matrix is square
Explanation
Even count should return the average of two middle values.