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

Read this excerpt from Churchill's speech: I say to the House as I said to ministers who have joined this government, I have nothing to offer but blood, toil, t
name three things that you can do to keep the children attention​
what does encomendero mean
Finally, it was time for me to leave.
How could the characters’ differing views of arranged marriage be analyzed from a historical perspective and from a feminist perspective? A historical perspecti
Main idea of the outsiders chapter 11 and 12
does the graph below represent a function? why or why not?
Find the product using Distributive property. 625 x 129 – 625 x 90​
Which is NOT a subphylum or class under the Phylum Arthropoda? A. Crustaceans B. Arachnids C. Centipedes D. Planarians
If kinaata goes for swimming lessons every 5 days while Wayo goes every 6 days. if both kinaata and Wayo had swimming lessons together at the pool today, after