The complex of Binary search alogrithm is___

The complex of Binary search alogrithm is___ Correct Answer O(log n)

Binary search, also known as half - interval search or logarithmic search is a search algorithm that finds the position of a target value within a sorted array. In Binary search algorithm, worst case performance is O(logn), Best case performance is O(1).

Related Questions

In which of the cases uniform binary search fails compared to binary search?