What is the Big Oh of the following computation int sum = 0; for (int counter = n;
Chapter 4, Problem 10(choose chapter or problem)
What is the Big Oh of the following computation? int sum = 0; for (int counter = n; counter > 0; counter = counter - 2) sum = sum + counter;
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer