Question d’entretien chez Optiver

A graph problem like a leetcode one