C-Plus-Plus icon indicating copy to clipboard operation
C-Plus-Plus copied to clipboard

feat: LRU (Least recently used) cache - different implementation

Open corvo-007 opened this issue 1 year ago • 0 comments

Description of Change

LRU Cache implementation In a fixed size cache, when new item is added and the cache is full The least recently used element is evicted from the cache

Checklist

  • [x] Added description of change
  • [x] Added file name matches File name guidelines
  • [x] Added tests and example, test must pass
  • [x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • [x] Relevant documentation/comments is changed or added
  • [x] PR title follows semantic commit guidelines
  • [x] Search previous suggestions before making a new one, as yours may be a duplicate.
  • [x] I acknowledge that all my contributions will be made under the project's license.

Notes: added LRU Cache with tests.

corvo-007 avatar Oct 07 '24 15:10 corvo-007