読者です 読者をやめる 読者になる 読者になる

LRU Cache

Least Recently Used LinkedList HashMap Amazon

Problem

leetcode.com

Solution

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

Source Code