undercoverlife9808 undercoverlife9808
  • 12-12-2020
  • Computers and Technology
contestada

If the three operations were combined, O(logN) + O(N) * O(logN) + 1, the overall algorithm cost would be:________
A. O(N)
B. O(logN)
C. O(logN)+O(N)
D. O(NlogN)

Respuesta :

andromache andromache
  • 12-12-2020

Answer:

D. O(NlogN)

Explanation:

The computation of the overall algorithm cost is as follows:

Given that

O(logN) + O(N) × O(logN) + 1

In the case of complexity we considered the high order that dominates the other terms

Thus, that term would be  

O(N) × O(logN)

It could be rewrite as

O(NlogN)

Hence, the correct option is D.

All the other options are wrong

Answer Link
Аноним Аноним
  • 12-04-2022

Answer:

D. O(NlogN)

Explanation:

the overall algorithm cost would be: O(NlogN).

Answer Link

Otras preguntas

What were the long and short term causes of the great depression?
what is the anwer to 754,326 - 561,268
A tax that remains constant for any given income level is called:
how much time do it take for a cheetah running at a speed of 31.67m/s to travel a distance of 1361.81m
The historical rise in living standards of american workers is primarily a result of
If an individual orders an alcoholic beverage In a private club and is determined not to be a current club member what should the server do ?
What parts of napoleon's french empire did france lose as a result of the congress of vienna?
Hay una estudiante nueva en mi clase de matemáticas. Sí. Yo la _____. Question 10 options: sabe conoce sé conozco
The veil may be seen as a rejection of ________ prevalent in western societies.
Race and ethnicity are buzz words that people use when discussing: