Matrix Median
Problem
Given a row wise sorted matrix of size R*C where R and C are always odd, find the median of the matrix. (link)
Example 1:
Input:
R = 3, C = 3
M = [[1, 3, 5],
[2, 6, 9],
[3, 6, 9]]
Output: 5
Explanation: Sorting matrix elements giv...
chetan77.hashnode.dev5 min read