Arjun sir please kindly check this :)
// i can be wrong . i just tried it . it may happen that all relation ,ay be wrong and depends upon reference string only
Let us denote number of page fault with S = P1
let us denote number of page fault with Sr = P2
so according to me
in case of fifo , p1 may or may not be equal to p2
in case of lru , p1= p2
in case of optimal p1=p2
in case of MFu p1 not equal to p2
Am i right sir ?