Pregunta de entrevista de Oracle

Design LRU cache using basic data structures

Respuestas de entrevistas

Anónimo

24 ago 2014

Use priority queue

Anónimo

26 mar 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