Pregunta de entrevista de Google

LRU-cache

Respuesta de la entrevista

Anónimo

21 de ene de 2012

there is a great implemantation using concurrent hashMap and a queue for maintining the least used. here is the link: http://stackoverflow.com/questions/221525/how-would-you-implement-an-lru-cache-in-java-6