What is the time complexity of the above recursive implementation of binary search?

Mỹ Duyên

New member
What is the time complexity of the above recursive implementation of binary search?
A. O(n)
B. O(2$^{n}$)
C. O(logn)
D. O(n!)
 

Tìm kiếm

Back
Top