

 Function foo

    line 5 / 12
    1 +  max(N, 0) × max(N, 0) + max(N, 0) + max(j, 0)
    O(n^2)

Total Complexity: O(n^2)
