Question: Lets say you have a computer that does 1 million operations in a second. You also have an algorithm that requires 3n/2000 operations for an

Lets say you have a computer that does 1 million operations in a second. You also have an algorithm that requires 3n/2000 operations for an input of size n.

a) How long (days) will it take to do an input of size 27?

b) What is the largest size input that can be done in a year?

c) Suppose you get a faster computer that does 100 million operations in a second.

Answer question b) for your new computer.

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!