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)


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

My Personal Notes arrow_drop_up
Article Tags :


Please write to us at to report any issue with the above content.