Pergunta de entrevista da empresa Microsoft

How would you design something? Also, binary trees.