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

Recommended Posts:

5 Average Difficulty : 5/5.0
Based on 1 vote(s)

User Actions