Amazon interview question

To find something in a 2D matrix