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