Pergunta de entrevista da empresa Apple

One of the coding question was to just Reverse a binary tree