Question d’entretien chez J.P. Morgan

How to implement a depth first search for a binary tree