Back to problems

Efficient Key-Value Store with Insert, Retrieve, Delete Operations

Low-Level Design · Gusto · Easy

Problem Create a key-value store that supports these operations: Insert a key together with its value. Look up the value associated with a key. Remove a key-value pair. Provide a complete code structure for the store, along with test cases that verify its functionality. A suitable API shape is: Constraints There can be up to 10^6 operations. Every key is a string with a maximum length of 100. Every value is a string with a maximum length of 100. Example The commands…

Checking your access…