Computer Science, asked by muruganpandiyan555, 6 months ago

The time complenty of
binary search is​

Answers

Answered by Neency
9

 \huge \boxed{answer}

The time complexity of the binary search algorithm is O(log n). The best-case time complexity would be O(1) when the central index would directly match the desired value. The worst-case scenario could be the values at either extremity of the list or values not in the list.

Answered by miniaiswarya84
0

Answer:

The time complexity of the binary search algorithm is O(log n). The best-case time complexity would be O(1) when the central index would directly match the desired value. The worst-case scenario could be the values at either extremity of the list or values not in the list.

Explanation:

hope it helps you. . . . . .

Similar questions