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

Athens collected tribute from its allies and states it had conquered. What does that mean? The other nations admitted in political speeches that Athens was stro
What is the value of X in the diagram
what is 30 / 20 as a percentage​
Pablo dice que si no consigue más jugadores, su equipo va a.Miguel dice que en México sólo hayen la península de Yucatán.Felipe dice que el restaurante del mole
Help me ASAP please!!!
What is 0.01 rounded to the nearest hundredth
what is war communism and who came up with the idea?ASAP PLEASE HELP!!!!​
Consider the following hypothesis test:H0: 20Ha: < 20A sample of 60 provided a sample mean of 19.6. The population standard deviation is 1.6.A sample of 6
Why would it be important for a country to have a written constitution
What is the appositive in this sentence? Tiny Tim’s father, Bob Cratchit, works for Scrooge. A. Tiny Tim B. Father C. Bob Cratchit D. Scrooge