TuSimple interview question

A medium graph problem about top-sort.