Software AG Interview Question

write a program to traverse a binary tree without recursion