Find the kth largest element in a sorted 2D array (the rows are sorted and the columns are sorted).
Anonymous
Use a max heap where the values are (element, row, column). Add the last row to the heap. (The hint I was given was to add the first row). Then start a loop where you extractMax, then add the element above the element you extracted to the heap. When you have done k extractMaxes you are finished.
Check out your Company Bowl for anonymous work chats.