Build a Dependency Resolver
topological sort and cycle detection
Challenge 1 of GraphsIntermediate~55 minFree
Build the engine behind package managers and build systems. Model software dependencies as a directed graph, then walk it with BFS and DFS, compute a safe install order with topological sort, and detect the circular dependencies that break real builds.