Oracle Labs interview question

Find the correct dependency order for tasks (topological sort)