logo

Crowdly

Browser

Add to Chrome

1.        What is the time complexity of following code:   int a = 0; for...

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

1.       What is the time complexity of following code:

 

int a = 0;

for (i = 0; i < N; i++)

{

for (j = N; j > i; j--)

{

a = a + i + j;

}

}

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moovit.vit.ac.in?

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

Browser

Add to Chrome