借助大佬的思路,map+list实现,觉得用Java有点麻烦,JavaScript30行搞定,开心了! function LRU( operators , k ) { // write code here var map = new Map(); var list = []; var res = []; for(var item in operators){ var op = operators[item][0]; if(op===1){ map.set(operators[item][1],op...