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

If the variance of a discrete random variable x is v(x) = 1.6, then v(2x + 3) is
solve fit X : 11/12 - X =1/4
Given: ∠H and ∠X are supplementary. Prove: l || n
a writer's choice and argument of words is called ___A. ironyB. dictionC. figure of speechD. narrative
I need help on number 3
Based on molecular data, the split between apes and humans is thought to have occurred about ______ million years ago.
Spanish women who moved to the colonial cities like mexico city in the sixteenth century
(04.04) Please help me, serious answers thanks! Escoge la mejor respuesta. Select the best answer. Me encanta la clase de debate porque tengo que tomar una posi
How much water should be added to a 36ml of 20% alchohol solution to reduce the concentration to 18%?
This poem describes a train as if it were a horse.Which lines uses imagery to describe the train arriving at the station for the night?