Question: An algorithm takes 0 . 5 ms for input size 1 0 0 . How long will it take for input size 5 0 0

An algorithm takes 0.5 ms for input size 100. How long will
it take for input size 500 if the running time is the following
(assume low-order terms are neglible)?
a. linear
b.\Theta (n log n)(Weiss says O(n log n), but he means \Theta (n log n).
See my September 13 lecture notes on big O.)
c. quadratic
d. cubic

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 Databases Questions!