GATE | GATE CS 1996 | Question 38

The average number of key comparisons done in a successful sequential search in a list of length it is
(A) log n
(B) (n-1)/2
(C) n/2
(D) (n+1)/2


Answer: (D)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

GATE CS Corner    Company Wise Coding Practice

Recommended Posts:



0 Average Difficulty : 0/5.0
No votes yet.