Pergunta de entrevista da empresa J.P. Morgan

How to implement a depth first search for a binary tree