00:01
Hi, today we are solving the question in which desk can hold 4 files.
00:07
On this desk 6 files a through f are used for our job.
00:14
So 6 files that is given by a, b, c, d, e, f.
00:22
But the desk can hold only 4 files.
00:26
When the 5th file need to be put on the desk, the file with the longest time since the last use among the 4 will be put in drawer.
00:35
So if the files are put on the desk and referenced in order of referenced order is given as a, b, c, d, e, c, b, d, f, b.
00:55
So which of the following is the last file to be put in drawer.
01:00
So here a, b, c, d are first put on the desk.
01:06
A, b, c, d are 4 files on desk first.
01:19
E needs to be put on the desk.
01:22
So a has the longest time since the last used.
01:27
So a will be in drawer when e is on desk.
01:41
Similarly c is referenced no changed...