Pergunta de entrevista da empresa Microsoft

tree problem. reverse a tree (left to right)