Storing Files on Tape
Understand the different techniques used to solve the storing files on tape problem efficiently.
Introduction to storing files
Suppose we have a set of files that we want to store on a magnetic tape. In the future, users will want to read those files from the tape. Reading a file from tape isn’t like reading a file from a disk; first, we have to fast-forward past all the other files, and that takes a significant amount of time. Let be an array listing the lengths of each file; specifically, file has length . If the files are stored in order from to ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy