Question: What is the time complexity for this? sum=0; for(i=0;i Answer as shown below: Example 2 Find the time complexity of function findmax in Figure 2
What is the time complexity for this?
sum=0; for(i=0;i Answer as shown below: 
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
