Searching Algorithms Questions Medium
The time complexity of binary search is O(log n), where n is the number of elements in the sorted array.