Pregunta de entrevista de Roblox

Dependency graph LeetCode problem, with a "Robloxy" twist