CarGurus Interview Question

Design LRU with O(1) insertion / deletion.

Interview Answers

Anonymous

Jun 12, 2018

HashMap with reference to LinkedListNode

4

Anonymous

Nov 28, 2018

LinkedHashMap

2