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 are mitosis and meiosis different from each other? A. Mitosis produces four different cells and meiosis produces identical cells. B. Mitosis produces four d
solve the equation 4+0.3x=19
need help on any number cause it is due tomorrow
what is the Nth term of 0 3 8 15 24 35
what is the cost per unit
What should be the guiding factor for a designer when using colors in a garment?
A horizontal line passes through the point (5, –1). Which point is also on this line? (0, 0) (–1, 5) (5, –4) (–2, –1)
What should be the guiding factor for a designer when using colors in a garment?
Emanuel read 150 pages in 5 hours. how many pages would he read in 4 1/2 hours?
A barista averages making 16 coffees per hour. At this rate, how many hours will it take until she's made 1,200 coffees?