When there are multiple solutions, I want to return the solution where courses are in ascending order. How can I do that by the topological sort algorithm?
Asked
Active
Viewed 60 times
0
-
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Dec 10 '21 at 15:29