What is the time complexity of the binary search algorithm?
What is the time complexity of the binary search algorithm?
- A.
O(n)
- B.
O(log n)
- C.
O(n^2)
- D.
O(n log n)
Attempted by 573 students.
Sign up free to check your answer
Sign up freeLoading lesson…

