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 value of y satisfies the equation 3y+1.3=4
What was the first writing system invented by the sumerians called?
When giving a public speech, a neat, appropriate appearance _____. a.will cause others to judge you negatively b.could help give you confidence c.will likely
Theresa pays $9.56 for 4 pounds of tomatoes what is the total of 1 pound of tomatoes
Which prehistoric Native American group were the first to have been discovered using fire for cooking and warmth? A.) Paleo B.) Archaic C.) Neither D.) Bot
I need help knowing what to do exactly please help me !!!!
How do I do linear equations using the elimination method
The body paragraphs of an argumentative essay should include? a brief introduction, counterarguments, and a summary of the overall claim. a strong reason,
In Alessandro’s class, 5 students live in Oakdale. There are 20 students in Alessandro’s class. What percent of the students live in Oakdale?
Helpp plz very stuck