Design an LRU cache
medium 85 minDesign an in-memory Least Recently Used cache with O(1) lookups, updates and evictions.
Watch lesson4:49
Practice
4 problems with hidden tests. Python runs in your browser.
Loading problem…
Loading problem…
Loading problem…
Loading problem…