How many comparisons will the linear search algorithm make if the search key is not in an array of 10 elements?
a. 0.
b. 10.
c. 9.
d. 5.
b. 10.
Computer Science & Information Technology
You might also like to view...
What is the term used for binary search’s run time?
a. Linear run time. b. Quadratic run time. c. Constant run time. d. Logarithmic run time.
Computer Science & Information Technology
Click inside a field to ____ data.
A. enter B. edit C. either a. or b. D. neither a. nor b.
Computer Science & Information Technology