int sum(int A[], int n) { int sum = 0, i; for(i = 0; i< n; i++) sum = sum + A[i]; return sum; } What is the space complexity? Select one: a. 2n + 8 b. 2n + 16 c. n^2 d. n + 8
What is the space complexity?
https://gateoverflow.in/142735/should-complexity-proper-explanation-internet-complexity
64.3k questions
77.9k answers
244k comments
80.0k users