LRU Cache Implementation Task
LRU Cache Implementation Task: a task in Terminal-Lego-15k (Harbor dataset). Implement a Least Recently Used (LRU) Cache data structure in C++. An LRU Cache discards the least recently used items first when the cache reaches its capacity limit.
The task
Implement a Least Recently Used (LRU) Cache data structure in C++. An LRU Cache discards the least recently used items first when the cache reaches its capacity limit.
Part of PrimeIntellect/Terminal-Lego-15k.