Question d’entretien chez Booking.com

Cycle detection in directed graph