Roblox interview question

Dependency graph LeetCode problem, with a "Robloxy" twist