You are not logged in.

#1 2017-10-25 04:47:42

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

In liner search algorithm the worst case occurs?

The Educators Exams Quizzes MCQs Quizzes Educators Teachers NTS Test IT Skills 2

Question:
In liner search algorithm the worst case occurs?

Option A):
None
Option B):
When item is in the middle of the array
Option C):
When item is the last element in the array or is not there
Option D):
Both

Correct Answer is Option C):
When item is the last element in the array or is not there

2017-10-25 04:47:42

Advertisement
Ads By Google

Re: In liner search algorithm the worst case occurs?



\n

Board footer