Question d’entretien chez Expedia Group

Cannot give explicit details. Question involved finding cycles in a directed graph