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

What did some of the Indians the Frinks encountered do? A. Invite the Frinks to their homes B. Threaten to kidnap Margaret C. Keep watch over the Frink
consider the function: y=f(x)=(1/2)^x the values of f(-7) is: a) 0.0078 b) 0.78 c) 64 d) 128 the value of f(5) rounded to the nearest ten thousand is: a) 0.030
The equation of the function that is graphed is where a > 0. Which of the following must be true about b? A. b > 1 B. b < 0 C. 0 < b < 1 D. -1 &l
The name for a mountain range, which separates river systems that travel in opposite directions is a ______.
What error in parallelism is made in the following sentence? Not only vacuuming, but the family wants to dust and straighten up the whole house.
How to solve the whole thing I'm lost
I need some help on this question. Fellow students, I know I will be a wonderful class president because I truly care about all of you, and I want this school t
Which phrase best defines and epic simile. 9th grade final please help
In 1-2 sentences, explain why the private businesses will not provide public goods.
How did president eisenhower decide to handle joseph mccarthy?