Task Dependency Ordering

Given a task dependency map tasks, where each key is a task name (a string) and its value is a list of tasks that must be completed before that task can start, return any valid execution order s...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: