The head of a hard disk serves requests following the shortest seek time first (SSTF) policy.
What is the maximum cardinality of the request set, so that the head changes its direction after servicing every request if the total number of tracks are $2048$ and the head can start from any track?
correct answer C
@Satbir then it violate the requirement that head changes its direction after every request.
I just modified the question to remove the part which was actually meant for question number 82.
@Arjun Sir, in my answer the directions are denoted by + and - signs and they are changing after processing every request.
Please correct me if wrong.
@Arjun Sir, please read the 2nd comment.
Why we are not counting the first one ? I have considered $1366$ also as a request. Please explain.
video explanation .…………………
https://youtu.be/aEytXqw7_sI?t=688
64.3k questions
77.9k answers
244k comments
80.0k users