Pergunta de entrevista da empresa Amazon

To find something in a 2D matrix