Pergunta de entrevista da empresa Emerson

Another question was “Search an element in a row-wise and column-wise sorted matrix.”