LeetCode 146 LRU Cache的实现 Pyhton3
原题链接:链接 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 -1. put(key, value) – Set or insert the value if
下载地址
用户评论