Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~124 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Missy_1

Hi everyone I want to calculate the complexity of this algorithm: int function (int n, int m) int result=0; for(i=0;i<n;i++) { for (j=0;j<m;j++) result=result+i*j; }; end so I proceeded as the following: as the programme is composed of two loops I started by calculating the number of operations of the …

Member Avatar for rubberman
0
124