GoComet interview question

Find an element index in sorted matrix, Graph Question