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.1%
Submissions
9,057
Accepted
6,443