快取容量為2 */ LRUCache cache = new LRUCache(2); // 你可以把cache 理解成一個佇列// ... 初始LRU cache void put(int key, int value) 將key value存入cache,則回 ...
確定! 回上一頁