NVIDIA interview question

Topologically sort a DAG and detect cycles

NVIDIA Interview Question: Topologically sort a DAG and detect cycles | Glassdoor