Vidyalelo
Data Structure · Q113

Searching Algorithms

Programming · Data Structure · question 113

Q113

What is the recurrence relation for the linear search recursive algorithm?

A.
T(n-2)+c
B.
2T(n-1)+c
C.
T(n-1)+c
Answer
D.
T(n+1)+c

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board