McqMate
| Q. |
In linear search algorithm the Worst case occurs when ____________. |
| A. | The item is somewhere in the middle of the array. |
| B. | The item is not in the array at all. |
| C. | The item is the last element in the array. |
| D. | The item is the last element in the array or is not there at all. |
| Answer» D. The item is the last element in the array or is not there at all. | |
View all MCQs in
Data Structures (DS)No comments yet