Sollicitatievraag bij Bloomberg

Implement an LRU cache.

Antwoord op sollicitatievraag

Anoniem

27 dec 2016

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