Question d’entretien chez Microsoft

Detect loop in an undirected graph