Consider the following C function
int fun(int n) {
int i, j;
for(i=1; i<=n; i++) {
for (j=1; j<n; j+=i) {
printf("%d %d", i, j);
}
}
}
Time complexity of in terms of notation is
View answer
Answer: C
Worked explanation not available yet.
Free practice · Your answers on this page are not saved.
