Bloomberg interview question

inorder traversal