Question: May I know what is the space and time complexity for following code int a[n], i; for (i = 0; i < n; i++) {
May I know what is the space and time complexity for following code
int a[n], i;
for (i = 0; i < n; i++) {
a[i] = 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
