Consider a reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 of frame size 3. Calculate the number of page faults using optimal page replacement algorithm.
(a) 10
(b) 9
(c) 8
(d) 7
I have been asked this question during an interview.
This question is from Page Replacement Algorithms topic in portion Page Replacement Algorithms of Data Structures & Algorithms II