Question: An algorithm takes 0 . 5 ms for input size 1 0 0 . How large a problem can be solved in 1 min if

An algorithm takes 0.5 ms for input size 100. How large a problem can be solved in 1 min if
the running time is one of the following (assume low-order terms are negligible)?
(a) linear
(b)O(NlogN)
(c) quadratic
(d) cubic
Select one or more:
a.(a) input size 120,000
b.(c)120,00012 times as large a problem, or input size 34,641
c.(d)120,00013 times as large a problem, or input size 4,933
d.(b) N times (such that NlogN=120,000) as large a problem, or input size 100*N
e.(c)120,0002 times as large a problem
f.(d)120,0003 times as large a problem
g.(a)120,000 times as large a problem (1min=60,000ms), or input size 12,000,000.
An algorithm takes 0 . 5 ms for input size 1 0 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!