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

what military action led to the start of World War I
what part did henry stanley adnd david livingstone play in the european colonization of africa
which of the following is not a convergent boundary? A . Oceanic continental B.COntinenal volcanic C. Continental continental
Which could be the measures of the three angles of an acute triangle? A. 40°, 40°, 100° B. 30°, 60°, 90° C. 30°, 30°, 120° D. 50°, 55°, 75°
Which ideal is not an essential element of the English political tradition? A.royal absolutism B.limits to the power of the king C.representation D.protection o
is any modern society in a golden age?
after galveston was rebuilt it resumed its role as
All living things maintain a balance within their cells and the environment through the process of
where is Athens in relation to Sparta
The inscription on Ozymandias's statue reads, "My name is Ozymandias, King of Kings, / Look on my Works, ye Mighty, and despair!" How does the context of the in