← Walmart questions
Low-Level DesignReported in a candidate post, Sep 2025

Build an in-memory cache with eviction and TTL

Filed under Walmart

Design an in-memory cache that supports eviction strategies and TTL (time to live), evolving from a basic version to a scalable one, with Java-style snippets and suitable design patterns.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Walmart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.