Skip to content
RED SAGSkills
medium10 pts · first answer countsgraphstopological-sort

Alphabetically smallest valid order

Several tasks are often ready at once, and you must output the alphabetically smallest valid topological order. What change to Kahn’s algorithm does this?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions