I have a code snippet that I would like to analyze for time complexity. The code is as follows:
for (i=1; i<=n; i++) {
for (j=1; j<=n; j=j+i) {
printf("x");
}
}
I would like to know the time complexity of this code