Question: Assume that a program runs in f(n) microseconds, where f(n) is the function given on the left. Fill in how large an input n

 Assume that a program runs in f(n) microseconds, where f(n) is the   

Assume that a program runs in f(n) microseconds, where f(n) is the function given on the left. Fill in how large an input n can be calculated, given each of the runtimes given along the top. I have filled in two values for you. You do not need to fill in every box, but should have at least of every row filled in, and at least half of the rows complete. 1 second lg n n 1012 1 1 1 1 1 minute hour day month year n n lgn n2 2n 1000 Show some calculations, or some of your code if you use code. Which row is the most sucktastic one? Why? Do you have any non-integer answers?

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!