This problem was asked by Microsoft. Print the nodes in a binary tree level-wise. For example, the following should print 1, 2, 3, 4, 5. 1 / \ 2 3 / \ 4 5