Bloomberg Interview Question

inorder traversal