MCPcopy Create free account
hub / github.com/codedecks-in/LeetCode-Solutions / 146.LRU-Cache.js

File 146.LRU-Cache.js

JavaScript/146.LRU-Cache.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.
3
4Implement the LRUCache class:

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected