Given a 2D array with rows sorted in ascending order. Find the median of the whole 2D array.

For example,

This is a preview of

Median (or kth Smallest) of a sorted 2D array. Read the full post (478 words, estimated 1:55 mins reading time)