Computer Science, asked by vaijayanti5198, 3 months ago

Analyze the time complexity of the following segment:

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

for(j=N/2;j>0;j--)

sum++;​

Answers

Answered by saritagupta27939
0

Answer:

bro you can't write j=n/2 in the j loop and you have have given 2 same loops I think the first will be I loop pls send the question properly before asking answers please

Similar questions