IBM interview question

Write a depth first search function for a binary tree.