Pranav Bhat1 month agoMost voted6
Stack algorithm means the pages in memory with N frames are always a subset of the pages with N+1 frames.
LRU keeps the N most recently used pages. With N+1 frames it keeps the N+1 most recently used, which includes those N. So anything that's a hit with N frames is also a hit with N+1.
FIFO depends on load order so that subset property doesn't hold.