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

Fill the blanks with an expression that means "I like." _____ ________ hablar.
The employer pays an amount to the Social Security Administration equal to the tax paid by the employee. true or false?
Which of these materials do your cells need more of during exercise? why?
Which is the simplified form of the expression {(p^2)(q^50}^5 * {(p^-4)(q^50}^-2
Which expression gives the volume of a sphere with radius 15?
PLEASE ANSWER NO ONE IS ANSWERING AND I NEED Part 1: Which substance has a higher solubility? Part 2: Explain your answer for Part 1. Julia did an experiment t
Complete this paragraph by selecting the most relevant and trustworthy sources. Despite what you may think, it’s not impossible to avoid getting sick during col
A triangle has 2 angles that each measure 80°. What kind of triangle is it?
What is the value of x? 103√ ​ 10 ​ 53√ ​ ​​5
Consider the PEPFAR funding chart provided above. How might these efforts be beneficial to the United States?