Topological Sort / Dependency Ordering
Roblox interview questions · Medium · Coding round · reported 9× · 6 tests
Produce a valid dependency order, break ties stably, and detect cycles instead of returning an arbitrary partial answer.
The full question, tests and reference solution are available with a plan that includes Roblox.
Run your code with Ctrl+Enter to see results.