IEM Corp. Interview Question

Write a function to traverse a binary tree.