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