Domanda di colloquio di Amazon

Leetcode style Q - course schedule II (medium difficulty)