Amazon Interview Question

- Variation on level order traversal of tree