Oracle interview question

Code least recently used cache memory .