Files
C-Plus-Plus/others/lfu_cache.cpp
deDSeC00720 821d20c33a feat: LFU (Least frequently used) cache (#2757)
* feat: add lfu cache

* docs: add comments and explanation to class LFUCache

* test: add tests for class lfu cache

* docs: document namespace and classes

* test: modify tests to check negative numbers

* docs: document template params and class data members

* test: make test func static and move tests in the same func

---------

Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
2024-10-07 19:02:52 +05:30

8.5 KiB