Design a Dictionary with Random Value Retrieval
Design a dictionary class supporting the following operations:
put(key, value): Add a key-value pair to the dictionary.delete(key): Remove the specified key-value pair from the dictionary. -...
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:
