15/32
Part 4 of 7 · Depth firstLearn and do

Only an ACTIVE task means a cycle, so the search needs three states

Run the depth-first version on the broken pipeline, the one with a cycle.

try:
    dfs_order(tasks, broken)
except ValueError as error:
    print("ValueError:", error)
Predict

dfs_order runs on the broken pipeline, where compile also needs test. Which task does the error name?

Pick one to see what it prints.
Pick an answer above to see the rest