Sistemas Operativos - algoritmo de reemplazo de página - SEGUNDA OPORTUNIDAD (o clock, o reloj)

Problem Statement: In a demand paging virtual memory management system, the page to be sacrificed is selected according to the SECOND CHANCE algorithm as follows, assuming we have 4 frames available. Demand: 1 - 2 - 3 - 4 - 1 - 2 - 5 - 2 - 7 - 8 - 9 - 10 - 2 - 11 - 10 - 12