Pregunta de entrevista de MarketAxess

Code Least Recently Used (LRU) cache in Java

Respuesta de la entrevista

Anónimo

2 de sept 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)