Return an order in which to take all courses given their prerequisites — or an empty list when a cycle makes it impossible.
Return an order in which to take all courses given their prerequisites — or an empty list when a cycle makes it impossible.
Return an order in which to take all courses given their prerequisites — or an empty list when a cycle makes it impossible.
The discussion opens with the full question.