Microsoft interview question

Search in a 2D matrix II Longest contiguous subarray