Question: An algorithm running on a particular computer takes 0.8ms for input size 100. How large a problem (in terms of input size) can be solved

An algorithm running on a particular computer takes 0.8ms for input size 100. How large a problem (in terms of input size) can be solved in 2 minutes if the algorithm's running time is the following (assume low-order terms are negligible)? A. linear: O(N) B. linearithmic: O(N log N) C. quadratic: 0(N2) D. cubic: O(N3) E. exponential: 0(2N)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
