Walmart Interview Question

Course Schedule (detect a cycle in a directed graph using topological sort / DFS)