Which of the following is the time complexity of binary search in a sorted array?
O(n^2)
O(log n)
O(n)
O(log^2 n)

Computer Science Exercises are loading ...