Build a fixed-capacity cache whose get and put both run in O(1) and that evicts the least recently used entry when full.
Build a fixed-capacity cache whose get and put both run in O(1) and that evicts the least recently used entry when full.
Opens with the full question.