Why prefer DoubleLinkedList instead of queue and hashmap to design Least recently used (LRU)? I am solving leetcode LRU design problem – Leetcode LRU.