IBM Interview Question

print a binary tree without recursion