You are viewing a single comment's thread. Return to all comments →
dude this has a great complexity...suppose if n=10000 then this loop would run 10000 times!!! instead try int b=a[n-1],c; for(i=0;i
Seems like cookies are disabled on this browser, please enable them to open this website
Birthday Cake Candles
You are viewing a single comment's thread. Return to all comments →
dude this has a great complexity...suppose if n=10000 then this loop would run 10000 times!!! instead try int b=a[n-1],c; for(i=0;i