1) If referred page is already present, increment hit count. 2) If not present, find if a page that is never referenced in future. If such a page exists, replace this page with new page. If no such ...
Add a description, image, and links to the optimal-replacement-algorithm topic page so that developers can more easily learn about it.