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

what is the product of 543 and 36
a 1.5-kilogram cart initially moves at 2.0 meters per second. it is brought to rest by a constant net force in 0.30 second. what is the magnitude of the net for
what do you think might be just as difficult as being unable to see or hear?
Jack is seeing an onion cell under a microscope. He observes formation of a cell plate. He is observing which phase of the cell cycle? A Cytokinesis B. Telopha
Will mark brainliest answer!!What the importance of politics and politicians to the people that lived in the cities. It for homework if you could give me a good
i'm horrible with spanish, can i get some help with this worksheet?
Name the ordered pair that point B represents in the graph
which is greater, 6.76 or 6.759
What is 3.47 rounded to the nearest tenth?
Find the equation of the line that passes through the point (3,14) and is parallel to y=2/3x -6