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.3%
Submissions
8,762
Accepted
6,246