0

Why is the big O of this function O(n^2)?

Isn't this just a sum of constant terms? Shouldn't the function be O(1)?

Raphael
  • 73,212
  • 30
  • 182
  • 400
Nicholas
  • 115
  • 7

0 Answers0