ashleyortego9468 ashleyortego9468
  • 17-01-2020
  • Computers and Technology
contestada

What is the order of adding 10.0 to each element in a one-dimensional array of N real numbers?
Note: The log is base 2.[1] O(1)[2] O(logN)[3] O(N)[4] O(N logN)[5] O(N*N)

Respuesta :

SyntaxError
SyntaxError SyntaxError
  • 17-01-2020

Answer:

O(n)

Explanation:

it's an array of N numbers so worst case scenario is N time

Answer Link

Otras preguntas

Simplify the equation 8-3(6-6x)
what is the array for 5+5+5=15
what is 12 divided by 3/4
Simplify the expression: (-8g^4h^6)^3
Which practice places citizens under absolute state control? imperialism nationalism racism totalitarianism
What do minutemen, loyalist, and patriots have in common
ELEMENTARY SCHOOL MATHEMATICS 13 points Previous question Next question Use Compatible Numbers To Estimate The Quotient.(The Slashes Are The Divide Sign
A liter is equal to 100 centimeters . Is a centiliter a greater measure than a milliliter?
is Idaho a proper noun?
richard has 43 centimeter cubes.henry has 36 centimeter cubes.what is the length of their cubes altogether?