Design a fixed-capacity cache that evicts the least recently used key, with get and put both in O(1) average time.
Design a fixed-capacity cache that evicts the least recently used key, with get and put both in O(1) average time.
The discussion opens with the full question.