Pergunta de entrevista da empresa Google

Question about 3 D matrix and binary search