LRU Cache (LeetCode)
Problem Description
https://leetcode.com/problems/lru-cache/
Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.
Implement the LRUCache class:
LRUCache(int capacity) Initialize the LRU cache with positive size ...
alexkang.hashnode.dev5 min read