⚡️ Tryprepforge
Backend Engineering Senior programming

LeetCode #146 - LRU Cache: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get(key) and put(key, value). The order of the keys and the constraints on memory usage are crucial.

Suggested Answer

Practice More Questions Like This

Generate unlimited interview questions with structured answers, code formatting, and immersive audio explanations.

No credit card required

More Backend Engineering Interview Prep

Link copied to clipboard