Anduril Interview Question

Essentially this leetcode question on topological sort: https://leetcode.com/problems/course-schedule/description/?envType=problem-list-v2&envId=topological-sort