Fixed size buffer with variable-size packets and LRU replacement
Filed under Matrix Comsec
The question
Given a fixed-size 50MB buffer storing variable-size packets, write code to replace packets using least recently used (LRU) policy based on timestamps while avoiding fragmentation.
No write-up yet. Related questions below have one.
Related Matrix Comsec questions
Collected from public candidate posts and coding forums. Updated Nov 2026.