AMD Interview Question

C++ coding for LRU policy in cache memory design