lucygarduno7268 lucygarduno7268
  • 03-09-2019
  • Computers and Technology
contestada

Which is the lowest Complexity"

A. (n) * 2n

B. (n2) * n

C. n2

D.nlog(n)

E. 3n

Respuesta :

Branta Branta
  • 06-09-2019

Answer:

E. 3n

Explanation:

Of the options given, 3n represents the lowest complexity = O(3n). Since O(constant * n) is the same as O(n) this represents linear complexity.

All other given options represent a complexity higher than linear complexity.

  • (n) * 2n > O(n)
  • (n2) * n > O(n)
  • n^2 > O(n)
  • nlogn > O(n)

This is because quadratic complexity and log-linear complexity are higher than linear.

Answer Link

Otras preguntas

how much we can expect to earn by having petroleum engineer degree with PhD?​
Help? I don't know how to do this.
Reflect D(3,3) E(0,5) and F(-2,2) on the x axis and then lable them D' E' and F'​
Solve the equation for the indicated variable 4=t-7s , for t
what was 1 reasult of labor saveing devices such as washing machine and vaccum cleaners
4. Dayon and Naqueal go on a run everyday after school. For every 2 blocks Naquealruns, Dayon runs a block.A. Record the ratioB. Write an equivalent ratio if Da
Divide 5 pounds 8 ounces by 3 ? please show work
How many moles are in 2.16 × 1024 atoms of gold?
Which is an example of how non-European cultures made the era of European exploration possible? European explorers relied on African, Asian, and Native American
2/3y + v = x (solve for x) please show work, thanks!