Code Least Recently Used (LRU) cache in Java
Anonymous
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)
Check out your Company Bowl for anonymous work chats.