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
70.5%
Submissions
8,017
Accepted
5,655