a) T(n-2)+c
b) 2T(n-1)+c
c) T(n-1)+c
d) T(n+1)+c
What is the recurrence relation for the linear search recursive algorithm?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the recurrence relation for the linear search recursive algorithm?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!