GlobalLogic Interview Question

Level order traversal