a. Write a version of the sequential search algorithm that can be used to search a sorted list.
b. Consider the following list:
8, 12, 15, 27, 35, 48, 65, 77, 86, 94, 120
Using a sequential search on ordered lists, which you designed in (a), how many comparisons are required to determine whether the following items are in the list? (Recall that comparisons mean item comparisons, not index comparisons.)
i. 65 ii. 8 iii. 80 iv. 125
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.