Least Recent Used means that if we have 3 memories and we have pages 4 9 7 5. Thus, 4, 9 and 7 will be added to the frames. Now we want to replace page 5. Thus, we will check in memory which page is the least recently used. In our case, page number 4 is LRU, so we will replace 4 with 5.
In your case, 2 has been using Ist recently, 4 is the second most recent, and 0 is the last use , so we will replace 0 with 3.
source share