Amazon interview question

Implement LRU Cache (from leetcode)