Real-time status counting system design

Assume there are one million devices that send a heartbeat and a status (out of 10 possible statuses) every minute. You need to design a system that can compute the count of devices for each status fr...

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: