Domanda di colloquio di Bloomberg

Implement an LRU cache.

Risposta di colloquio

Anonimo

27 dic 2016

Straight-forward solution with a hashmap and a linked list. Also mentioned that Java has this already implemented in the LinkedHashMap class.