Question d’entretien chez Amazon

clone a graph which has cycles