Consider a reference string 1,2,3,2,1,5,2,1,6,2,5,6,3,1,3,6,1,2,4,3 of frame size 3. Calculate the number of page faults using optimal page replacement algorithm.
(a) 12
(b) 16
(c) 14
(d) 15
I have been asked this question during an interview.
I'm obligated to ask this question of Page Replacement Algorithms topic in portion Page Replacement Algorithms of Data Structures & Algorithms II