Welcome to the Python screen.
The question is on your right: Design an LRU Cache. Read through the requirements first.
Run and submit your code as often as you need. You also have five interviewer messages this session - want to talk through your approach, or are you ready to start coding?
Implement an LRU cache with fixed capacity. Support get(key) and put(key, value) so that both run in O(1) average time, and evict the least recently used key when the cache is full.
1 <= capacity <= 30000 <= key <= 10^40 <= value <= 10^52 * 10^5 operations