I thought the problem itself was simple, i discussed the question with him for a min and then jumped into writing the code.
The code itself was simple, all we need is a breadth First traversal and store nodes in a queue to keep track of all nodes and print them. The only place it took me little time was how to print a new line after every line, which i solved by keeping track of number of nodes i have printed.
I coded the complete solution and was very confident.
He seemed to be happy, but the feedback i received from the recruiter was that the interviewer wasn't happy with my coding skills.
May be he wanted some really optimized alog...but not sure how much better can you do than O(n) since one has to visit all the nodes.