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

plzzzz help me with this question ❓​
Need explanation....Please help guys....Question is in attachment Note: Don't spam...Don't copy Don't answer if you don't know....Thank You...​
A store sells a shirt in 6 different colors. The shirts are displayed on 3 shelves. On each shelf there are 2 shirts of each color.Which can be used to find the
What is a model's right to publicity, and how does it differ from a model's right against defamation?
PLEASE HELP WILL GIVE BRAINLIEST AND 5.0 RATING
the chemical symbols of elements.​
Select the correct answer. The motto "trust thyself" is based on which transcendentalist belief? A. One can ultimately rely on oneself to know what is right. B.
explain the process of coal formation in brief​
Question 14 of 45 How did World War II change the global balance of power? A. It spread global power almost equally among the countries that joined the United N
Find the dimension of the figure