Pergunta de entrevista da empresa Oracle

Design LRU cache using basic data structures

Respostas da entrevista

Sigiloso

24 de ago. de 2014

Use priority queue

Sigiloso

26 de mar. de 2018

Use linked hash map in java.By default linked hash map stores the elements in insertion order.This can be changed to accessing order by passing a Boolean value while invoking the linkedhashmap constructor