A logistics company manages a tracking system where each package ID is stored in a chronological list as the packages are processed. An engineer suggests…
A logistics company manages a tracking system where each package ID is stored in a chronological list as the packages are processed. An engineer suggests that, to locate a particular package's ID, the system should check each ID sequentially from the start until the target is found or the list ends. Which statement most accurately reflects the main drawback of this approach if the company expects the number of packages to increase dramatically over time?
Show answerHide answer
Correct answer: (B) Search time grows linearly with the number of packages.