MarketAxess interview question

Code Least Recently Used (LRU) cache in Java

Interview Answer

Anonymous

Sep 2, 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)