Pergunta de entrevista da empresa Amazon

what ds can be used for LRU cache.

Respostas da entrevista

Sigiloso

24 de dez. de 2011

Queue- linked list (double) and hashtable (quick fetch). Why double linked list and not single?

Sigiloso

29 de set. de 2012

PriorityQueue / LinkedHashmap are great choices in java