Question d’entretien chez Uber

Search question, breadth first search.