SIGN IN SIGN UP

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 <93663085+DenizAltunkapan@users.noreply.github.com>
I
IDDQD committed
c9cc8f469881ef611ed8b43fcf39c51e2de6fa4d
Parent: 2dfad7e
Committed by GitHub <noreply@github.com> on 7/21/2025, 4:11:13 PM