LinkedIn interview question

Binary Tree traversal