Dailyhunt interview question

Find the key in the sorted matrix