Multiple Choice
Binary search does ____ comparisons in the worst case.
A) Q(1)
B) Q(lg n)
C) Q(n)
D) Q(n2)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: _ problems are solvable, but the solution
Q25: The selection sort algorithm can recognize whether
Q28: Placing a list of items into alphabetical
Q29: The copy-over algorithm is _ in time
Q32: The converging-pointers algorithm is Q(n) in the
Q36: An _ algorithm is called an exponential
Q37: The shuffle-left algorithm is a(n) _ algorithm
Q38: If we were to run the sequential
Q43: Discuss at length the "people aspect" of
Q50: The sequential search and selection sort algorithms