MCPcopy Create free account
hub / github.com/Semaserg/LeetCodeProblems / LRUCache

Class LRUCache

design/LRUCache_146/LRUCache.java:34–113  ·  view source on GitHub ↗

https://leetcode.com/problems/lru-cache/#/description 146. LRU Cache Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the value (will always be positive) of the key if the key exists in the cache,

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected