Pergunta de entrevista da empresa Bloomberg

How do you find the max difference between node elements in a tree.