IBM Interview Question

Write a depth first search function for a binary tree.