Question d’entretien chez Robinhood

Question about graphs. Write code for depth first search.