LinkedIn Interview Question

Binary tree traversal