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

3(5a + 3c) (2a - 3c) - (4a + c)^2
superman can fly at a rate of 60 miles per 4 minutes. At this rate, how long will it take superman to go from metropolis to gotham city which is a total of 340
Residents of mill river have fond memories of ice skating at a local park. an artist has captured the experience in a drawing and is hoping to reproduce it and
Why was the new deal initiated? what problems did it address? what were some possible unintended consequences of the new deal? did the new deal solve the proble
What does a humorous imitation of a popular literary style genre genre or author called? A.) understatement B.) Parody C.) irony D.) satire
The marginal product of labor eventually slopes downward due to diminishing marginal costs diminishing average returns diminishing marginal utility the law of d
Which graph represents the function f(x)=4/x
A spring scale hung from the ceiling stretches by 6.4 cm when a 2.0 kg mass is hung from it. The 2.0 kg mass is removed and replaced with a 2.5 kg mass.
What is one important way that authors convey tone? Through diction Through colors Through summaries Through exposition? with colors and description
After a few minutes the rate of oxygen consumption decreased because