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

name three roles you play in your relationships with others. explain when you play each role.
why does methane have a low boiling pint?
Let E and F be independent events in a sample space S with Pr[E] = 0.4 and Pr[F] = 0.2. Find Pr[EUF] A.0.60 B.0.52 C.0.40 D.0.32 E.0.08
if 120 marks is 60% what is full marks
why did some people treat native americans so badly?
express each number in fraction form before finding the inverse:7,10,1 3/4,
how many thirds in 5
Questions 1. Calculate the molar mass of an element. 2. Calculate the molar mass of a compound. 3. How do you determine the number of protons, electrons and neu
Questions 1. Calculate the molar mass of an element. 2. Calculate the molar mass of a compound. 3. How do you determine the number of protons, electrons and neu
Trent and Chris are musicians, and they recently played a concert for 20,000 fans. The rectangular venue measured 87 yards by 57 yards. What was the approximate