Simulation-style coding problem with scaling follow-up (mini system design)

Implement a simulation-style program: given an initial state and a sequence of events/operations, update the system state in order and output the final result and/or per-step outputs.

Requirements: -...

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: