Amazon interview question

layer traversal of a binary tree.