DevOps / SRE Engineer signal: topological sort + cycle detection in a SLO burn-rate monitor context. This is a ProdMatch-owned devops sre drill, framed as a May 2026 NoBroker Reliability Platform simulation, not a copied platform question.
Company context
NoBroker · Reliability Platform
Freshness
May 2026
Product surface
SLO burn-rate monitor
ProdMatch interview simulation based on product-team patterns; not a claim of a real company question.
You own SLO burn-rate monitor for a DevOps / SRE Engineer loop. Given windows and directed dependencies between them, return a valid execution order. If a cycle exists, return an empty list and identify that the rollout is blocked.
Input
Output
Constraints
Concepts
windows: 4, deps: [[0,1],[0,2],[2,3]] -> [0,1,2,3] or [0,2,1,3]
Try framing your own approach first. The 30 seconds you think before peeking is where learning happens.
Reveal the approach first.
Your rating tunes when this problem shows up again.