logo

Crowdly

Browser

Add to Chrome

What is the time complexity of the following nested loop? for (int i = 0; i < ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What is the time complexity of the following nested loop?

for (int i = 0; i < n; i++) {

    for (int j = 0; j < n; j++) {

        printf("%d ", i + j);

    }

}

0%
0%
0%
More questions like this

Want instant access to all verified answers on lms2.ai.saveetha.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome