Practice ยท 2 of 4
Build order from references
CHALLENGE
Difficulty: beginner+25 XP
Implement static List<string> BuildOrder(List<(string Project, string DependsOn)> refs, List<string> all) โ return project names ordered so every project appears AFTER everything it depends on; deterministic: alphabetical among available projects at each step. Projects with no dependencies come first.
Press Submit to check your solution.
Back to lesson: Practice: Project workshop