Pergunta de entrevista da empresa MarketAxess

Code Least Recently Used (LRU) cache in Java

Resposta da entrevista

Sigiloso

2 de set. de 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)