2522. Median of a Row Wise Sorted Matrix

Medium
Array
Binary Search
Matrix

Description

Hints

Hint 1
How can you use the fact that the rows are sorted in non-decreasing order to solve the problem efficiently?
Hint 2
Try to binary search the answer.

Statistics

Acceptance
71.0%
Submissions
8,616
Accepted
6,119