Question d’entretien chez Adobe

Topological sort in graph, longest sequence in array