Multiple Choice
Which of the following will result in the shortest running time?
A) 3n = 3 * 3n - 1
B) 3n = 2(3n - 1) + 3n - 1
C) 3n = 3n - 1 + 3n - 1 + 3n - 1
D) Each will produce the same result, so the running time is the same.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q29: If n = 10 and the order
Q30: What is the typical running time of
Q31: Running times represented using the Big-Oh notation
Q32: Most programmers tend to disregard _ when
Q33: Which of the following is the Big-Oh
Q35: The pattern T(n) = 2<sup>k</sup> T(n /
Q36: What is the best-case running time of
Q37: In terms of Big-Oh notation, a running
Q38: What is the Big-Oh of the function
Q39: When we measure the speed performance of