Task Dependencies: rerun_tasks

Tasks to Re-run (rerun_tasks)

Given the same task dependency data as in part 1. When a task is modified, find every task that must be re-run: the modified task itself plus all tasks that transitiv...

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: