HashedIn by Deloitte Interview Question

level order traversal of binary tree