Amazon Interview Question

Binary tree and how to traverse it