Microsoft Interview Question

Code an inorder trav of tree