Commit c9cc8f4
Add cache with LIFO replacement policy (#6390)
* Added Random Replacement cache
* Implement cache with LIFO replacement policy
* Ran clang-format
* Make necessary variables final, replace HashMap.newHashMap(int capacity) with new HashMap<>(int capacity)
---------
Co-authored-by: Deniz Altunkapan <[email protected]>1 parent 2dfad7e commit c9cc8f4
File tree
2 files changed
+904
-0
lines changed- src
- main/java/com/thealgorithms/datastructures/caches
- test/java/com/thealgorithms/datastructures/caches
2 files changed
+904
-0
lines changed
0 commit comments