Lets say you have a Matrix of numbers that are sorted across rows as well as column.
How do you find the median.
I searched on net and found lot of answers like:
There is an algorithm to find median of two sorted arrays in O(logn)- apply this n times. I don't think that it makes any sense.
Or else I get some research papers. The problem does not seem that jazzy though.
Can anyone give me a precise algorithm?