Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Auto Expiring Cache
Hard
Implement a key-value cache with automatic expiration. The cache stores string keys mapped to string values, with each entry optionally expiring after a time-to-live (TTL).
Start by implementing the basic cache, then extend it with expiration handling, eviction, and finally discuss production scaling. ...
Asked at:Netflix
More Netflix interview questions
- Ads Audience Targeting Systemhard
- Weight-Based Cachehard
- Event Rate Limitermedium
- Interval Coverage Counterhard
- [CodeSignal] Movie Group Rankereasy
- [CodeSignal] One-Hot Encodereasy
- Parallel Task Batchingmedium
- Viewing History Friendsmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.