intermediateData Structures & Algorithms~55 min
Dependency Resolver (Graphs & Topological Sort)
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.