Question: An algorithm takes 0.5ms for the input of size 100. How long will it take the algorithm is the input size is 500 and the
An algorithm takes 0.5ms for the input of size 100. How long will it take the algorithm is the input size is 500 and the algorithm running time is:
(a) linear
(b) n log n
(c) quadratic
(d) cubic
(e) What do your results mean? Explain.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
