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

PLZ HELP I WILL GIVE BRANLIESTMyrna wants to know how many pairs of jeans middle school students own. She did not have time to ask all 257 middle school student
How were the Norman's treated in the east
4= –6 + v Help please
hii they asked this again but in cm ​
How does a food chain differ from a food web? A. A food chain identifies the consumers and producers, while a food web lists all of the animals in an ecosystem
One of the fastest times for 1500 meter race is 3 minutes and 34 seconds. How many seconds is this time?
Barbara charges $3.50, plus $2.25 for each hour she babysits. If Barbara charges $21.50, how many hours does she babysit?
What happened to Rızal when he returned to the Philippines in 18922
Narrate a dream you will never forget​
What was the outcome of the Third Crusade? The Crusaders made a treaty with the Muslims The Crusaders looted Constantinople and never arrived in the Holy Land.