写LRU不能使用LinkedHashMap很正常吧,用LinkedHashMap实现LRU相当于直接调用api了,就不是算法题了