LRU Cache

Problem

leetcode.com

Solution

This problem can be solved by Double Linked List and HashMap.

Source Code