Ask Question
6 February, 22:29

The method Sum listed below returns the sum of integers between 1 and n. What is its order of growth? Create a new method that performs the same function that is a lower order of growth. public int Sum (int n) { int total = 0; for (i = 1; I < n; i++) total = total + i; return total; }

+5
Answers (1)
  1. 6 February, 22:47
    0
    Tell me why i got this question got it right and now won't remember but i'll get back at you when i remember
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “The method Sum listed below returns the sum of integers between 1 and n. What is its order of growth? Create a new method that performs the ...” in 📙 Engineering if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers