The link : leetcode.com/problems/lru-cache/ LRU Cache - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 자체가 굉장히 직관적이므로, 문제를 따라 시뮬레이션을 구현해주면 된다. class LRUCache { int cap = 0, time = 0; map cache; // key, value, 사용된 횟수 public: LRUCache(int capacity) { cap = capacity; } int get(int..