Back to Question
Implement a Map with Time Expiration
Question Explain
Design a map that supports standard `put` and `get` operations, but each key-value pair automatically expires after a given Time-To-Live (TTL).
Start Trying This Question Simulation
Click "Start Speaking" and answer the question naturally.