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

Look at picture and select all that appy
2) Mention the development activities held in tropicalgrassland & Present the facts to be leamt byNepal from therefour points.​
i need help:(...pls do it correctly so i could rate u 5 and thank u:)
Explain Sound level intensity with mathematical steps?
JS 2 Next Area: Mastery Test Subm 2. Select the correct answer from each drop-down menu. units 6 units 4 units 12 units The area of the triangular section is 4
Compounds consist of two or more elements. Which of the following properties must each of the elements in a compound have? A. solubility B. conductivity c. high
PLSSS HELP IF I GET IT RIGHT 30 POINTS FOR BRAINLIEST!!!​
the equation of the line of best fit of a scatter plot is y= -3x+2 what is the slope of the equation -3 -2 2 3
An emergency room doctor prescribes a certain pain medication to be delivered through an IV drip. She prescribes 800 mL of the medication to be delivered over
Which category best describes the group of shapes