Question d’entretien chez Optiver

One question was a graph problem