Disk Head Scheduling: Shortest Seek Time First

Asked at QRT · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

Given a disk head's starting track and a list of pending track requests, service every request under a scheduling policy and report the service order and the total head movement.

Loading the problem…