Amazon interview question

level-order traversal of a binary tree