Q.

The Worst case occur in linear search algo- rithm when

A. Item is not in the array at all
B. Item is the last element in the array
C. Item is the last element in the array or is not there at all
D. None of above
Answer» C. Item is the last element in the array or is not there at all
1k
0
Do you find this helpful?
15

Discussion

No comments yet