Examveda

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

D. T(n+1)+c

Answer: Option C


This Question Belongs to Data Structure >> Searching Algorithms

Join The Discussion

Related Questions on Searching Algorithms