← Meta questions
CodingMediumReported in a candidate post, Nov 2025

LRU Cache

Filed under Meta · Also reported at APTIV, Brane Enterprise, CarWale, Myntra

Design a data structure that follows the Least Recently Used (LRU) cache policy. Implement the LRUCache class: LRUCache(capacity) initialises the cache with positive size capacity; get(key) returns…

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 Meta questions

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