Ask Question

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)

+5
Answers (1)
  1. 27 August, 21:21
    0
    O (n)

    Explanation:

    it's an array of N numbers so worst case scenario is N time
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “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 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers