Thank You......!
How can we say that [CODE]for (int i = 0; i < n; i++)[/CODE] is "N+1" times. Is it is the case that the loop itarates for "N+1" Number of times?
In the same manner how can we say [CODE]sum += a[i];[/CODE] is it runs for "N" times?
Thank You......!
How can we say that [CODE]for (int i = 0; i < n; i++)[/CODE] is "N+1" times. Is it is the case that the loop itarates for "N+1" Number of times?
In the same manner how can we say [CODE]sum += a[i];[/CODE] is it runs for "N" times?
Hi...!
In Design of Algorithm.
I think it is used to calculate the time complexity....
What is meant by STEP-COUNT METHOD?
What is the procedure in that to calculate?
I want brief explination. ....