But i donot get the answer?
Can i get more detailed answer please
Code:
for(i=0 to i<10) => n for(j=0 to j<i) => (n+n)/2 x=i+j => ???
Can i get more explanation on the time complexity of the inner loop?
Have u applied some Arithematic series formula?
Thanks
kinnan
Leave a comment: