Question d’entretien chez Oracle

Design LRU cache using basic data structures

Réponses aux questions d'entretien

Utilisateur anonyme

24 août 2014

Use priority queue

Utilisateur anonyme

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