Question d’entretien chez X

How would you implement Depth First Search for a graph?