Sollicitatievraag bij MarketAxess

Code Least Recently Used (LRU) cache in Java

Antwoord op sollicitatievraag

Anoniem

2 sep 2021

HashMap and LinkedList with wrapper object as value in HashMap that provides the index location of the object in the LinkedList so performance is O(1)