mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
* 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 <93663085+DenizAltunkapan@users.noreply.github.com>