Sollicitatievraag bij Oracle

Design LRU cache using basic data structures

Antwoorden op sollicitatievragen

Anoniem

24 aug 2014

Use priority queue

Anoniem

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