利用LinkedHashMap 来模拟cache,并使用iterator 来提取hashsmap 头部的值 import java.util.*; public class Solution { /** * lru design * @param operators int整型二维数组 the ops * @param k int整型 the k * @return int整型一维数组 */ public int[] LRU (int[][] operators, int k) { // write code...