LRUCache cache = new LRUCache( 2 /* capacity */ ); cache.put(1, ... class LRUCache { HashMap<Integer,Integer> map; List<Integer> list; ...
確定! 回上一頁