说明:原题链接:链接
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put.
get(key) – Get the value (will always be positive) of the key if the key exists in the cache, otherwise return <weixin_38605604> 上传 | 大小:55kb