What is the recurrence relation for the linear search recursive algorithm?
PYQ Hexaware Hiring Assessment 2025
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
Attempted by 24 students.
Sign up free to check your answer
Sign up freeLoading lesson…

