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