Searching Algorithms: Binary Search - Complexity Analysis
Download Q&A
Q. If an array has 16 elements, how many comparisons will binary search make in the worst case?
Q. If the size of the array is doubled, how does the time complexity of binary search change?
Q. In binary search, what happens if the middle element is greater than the target?
Showing 1 to 3 of 3 (1 Pages)