Question: 5. Func10(n) 1 s + 0; 2 i+1; 3 while (i < 7n) do 4 j + n?; while (j > 6) do s+s+i-j;

5. Func10(n) 1 s + 0; 2 i+1; 3 while (i < 7n) do 4 j + n?; while (j > 6) do s+s+i-j; j+j-i; 5 6 7 8 9 10 end 11 return (s); end i +5*i ; T(n) = (27) for i = 1, 5, 52, ..., 5" = 7n, where m = log,(7n) =on .)=0() 1 5k k=0 Note: = WI (1/5)* = (1). k=0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
