Cognizant interview question

Iterative level order traversal