QUESTION 12:

LEVEL : MEDIUM

12.What is the time complexity of binary search in a sorted array?

O(n)
O(log n)
O(n²)
O(1)