Which edge case matters for this problem?

Practice this question from Kth Largest Element - Size-K Min-Heap Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

k = 1 should return the maximum value.

Option B

Whether the graph is connected

Option C

Whether a string has vowels

Option D

Whether a matrix is square

Explanation

k = 1 should return the maximum value.

Kth Largest Element - Size-K Min-Heap Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker