Pergunta de entrevista da empresa Nearbuy

Top view of a binary tree and search in a sorted matrix.