Implement In-Memory Key-Value Store With Expiration
Design and implement an in-memory key-value store that supports basic operations (get, put, delete) with automatic key expiration based on TTL (time-to-live). The implementation should efficiently handle expired key cleanup and provide O(1) average time complexity for core operations.
Asked at:Geminus Tech
Netflix
NVIDIA
Airbnb
G
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Mid November, 2026
Netflix
Senior
This question was asked in Warsaw region for Netflix
Mid October, 2026
Airbnb
Mid-level
OA a full on Machine Coding round. Wasn't concerned with time complexity as much as correctness
Early October, 2026
Netflix
Senior
Straight one-liner , design cache with ttl
Hello Interview Premium
Your account is free and you can post anonymously if you choose.