Compute Service Load Factor in a Service Dependency Graph
You are given a directed acyclic graph (DAG) describing service dependencies (edge A -> B means service A calls service B). Each service has a base request load (e.g., QPS). The effective load on a ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
