O(1) Key-Value Store with Average and Max Retrieval
Easyconfluent
Design a key-value store system. This system needs to support the following operations: storing (or updating) a value given a key, retrieving a value using Get(key), and calculating the average and ...
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:
