Design a Least Recently Used (LRU) cache supporting get and put in O(1) average time, evicting the least recently used key when full.
Practise this challenge
All coding challenges