Multiple Choice
What is the best-case running time of binary search when searching a single-dimensional sorted array of size n?
A) O( n )
B) O( log n )
C) O( 1 )
D) O( n2 )
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q21: A function f (n) is Big-Theta of
Q22: What is the typical running time of
Q23: What is a handwaving method?<br>A) An estimation
Q24: If the order of magnitude is n<sup>2</sup>
Q25: The strategy we use to compute the
Q27: For n = 1,000, Bubble Sort executes
Q28: Using the following code segment could help
Q29: If n = 10 and the order
Q30: What is the typical running time of
Q31: Running times represented using the Big-Oh notation