有一個class LRUCache,設計一個資料結構,能符合LRU cache的規則。 實現class中要求的function. LRUCache(int capacity). 初始LRU cache. void put(int key, int value).
確定! 回上一頁