Two Sigma Interview Question

Give the dependency compeltion order. Each dependency is timed