Object-Oriented Programming · Dropbox · Medium
Problem Design and implement an in-memory key-value store that exposes a clean, minimal API. Requirements Your store must support three core operations: put(key, value) – Insert a new key-value pair or overwrite the value if the key already exists. get(key) – Retrieve the value associated with the given key. Return null (or an appropriate error/exception) when the key is not present. delete(key) – Remove the key and its associated value from the store. Define the behavior…
Checking your access…