← 返回 rippling 的题目列表Key-Value Store Design
类型:online_judge
Design a simple Key-Value storage system with the following interfaces:
put(key, value): Store a key-value pair.
get(key): Return the value associated with the key. Return null if the key does not exist.
delete(key): Remove the key.
The design should support basic CRUD operations with performance optimization considerations.
Example
Input
put(a,1)
put(b,2)
get(a)
delete(a)
get(a)