What is the recurrence relation for the time complexity of binary search?
T(n) = T(n/2) + c
T(n) = nT(n-1) + c
T(n) = T(n-1) + c
T(n) = 2T(n/2) + c

Data Structures and Algorithms Exercises are loading ...