Order tasks by their dependencies, picking the lowest priority when several are available.
Unlock detailed company stats for this questionUpgrade
Given a list of tasks, where each task has a string name, a priority and a list of dependencies, return the order in which the tasks should be executed. When multiple tasks are available at the same time, pick the one with the lowest priority.
Format · Amazon Alexa phone interview.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
