Pergunta de entrevista da empresa GoComet

Find an element index in sorted matrix, Graph Question