题目:
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get
and set
.
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get
and set
.