Question: 8. A program with running time (nn) takes 4 ms for an input of size 100. How much time will be needed for this program

8. A program with running time (nn) takes 4 ms for an input of size 100. How much time will be needed for this program to solve an instance of size 1600? In general, how many times the running time will increase when the size is increased 16 times? Show your calculations. 9. What is the complexity ? count = 0; For i = 1 to n do For p = 1 to 3 do For k = 1 to i do count = count +1; end for loops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
