LEETCODE
UNLOCKED
Problems
Donate
Tools
LRU Cache
Solution Code
Python
Java
C++
Javascript
Copy
Verifying access...
Time Complexity
O(
1
)
Space Complexity
O(
capacity
)
Buy the VIVO Glass Deskpad
Available on Amazon
Affiliate