Given an array with all elements sorted on each individual row and column find the K-th smallest one
Anonymous
Treat every row in the matrix as a separate stream of numbers. Merge the streams in an ordered way while decrementing k. When k is zero, your current element is the one in question.
Check out your Company Bowl for anonymous work chats.