Microsoft interview question

tree problem. reverse a tree (left to right)