Design and Implement an In-Memory KV Store (API + Optional Extensions)
Implement an in-memory Key-Value store with a clear API.
Requirements
- Support the basic operations:
put(key, value): insert/overwriteget(key): return the value; return null/error i...
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:
