โ† Samsung questions
Low-Level DesignReported in a candidate post, Sep 2025

Design LRU and LFU cache

Filed under Samsung

The question

Design and explain the data structures and algorithms required to implement LRU (Least Recently Used) and LFU (Least Frequently Used) caches.

No write-up yet. Related questions below have one.

Related Samsung questions

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