Write a program that implement the virtual memory page replacement algorithms –
FIFO, Least Recently Used (LRU) and Optimal.
Input: page table size and series of reference strings
example)
3
1 5 2 5 7 7 7 9 8 9 2 2 9 8 8
Output: Number of page faults for each algorithm
*** Please submit at least two test case with table size 3 and 4