Chapter 3: Problem 7
The American Museum of Natural History in New York City contains more than 32 million specimens and artifacts in its warious collections, including the world's langest collection of dinosaur fossils. Many of these are in storage away from public view, but all must be carefully inventoried. a. Suppose the inventory is unordered (I) and a sequential search is done to locate a specific artifact. Given that the search is executed on a computer that can clo 12,000 comparisons per second, about how much time on the aNerage would the search require? b. Assuming the inventory is sorted, about how much time would a binary search require?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.