Incident Monitor
Implement detect_incidents(logs) to detect and resolve merchant API incident alerts from transaction logs.
Each log has the format:
timestamp,merchant_id,status_code,count
Where:
- `...
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:
