Bounded Event Stream Unique-Key Queries
Implement a memory-bounded event-stream data structure. Each event is (timestamp, key), where timestamp is a signed 64-bit integer and key is a whitespace-free string.
The structure must always...
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:
