Pergunta de entrevista da empresa TuSimple

A medium graph problem about top-sort.