Function foo line 17 max(0, (A + 1)) O(n) Total Bound: max(0, (A + 1)) Total Complexity: O(n)