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

When were 3 times when Lancelot was humerous in act 2 scene 2 in Mercant of Venice
Is d+6d equivalent to 6d
Early India civilization, how did the three unique religions develop from these early civilizations
when i got on the website it says it has error and its not working
Please help this is the last questionnnn
WILL GIVE BRAINLIEST, 100 POINT QUESTION, PLEASE GIVE FULL ANSWER
hi! can anyone help!:(
which of three following words best fits the three leaders listed bellow
Electrical rooms with equipment rated _______ amperes or more and over ______ft (1829mm) wide, and that contain overcurrent devices, switching devices, or contr
Carolyn has just retired, and has 400000 dollars in her retirement account. The account will earn interest at an annual rate of 6 percent, compounded monthly. A