PrepZone Logo
PrepZone
Back to LLD

LLD · Hard

Design an in-memory key-value store with TTL and eviction.

LLDData StructuresConcurrencySenior

Answer preview

Redis-like in-process store. Tests ConcurrentHashMap, lazy expiry, and optional active cleanup.…