What is the worst-case time complexity of binary search on a sorted array of n elements? - Study24x7
Social learning Network
2 followers study24x7 30 Jul 2024 11:24 AM study24x7 study24x7

What is the worst-case time complexity of binary search on a sorted array of n elements?

A

O(1)

B

O(log n)

C

O(n)

D

O(n log n)

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles