Question: Suppose a program takes time proportional to ( log ( n ) ) 2 , where n is the input size. If the program takes

Suppose a program takes time proportional to (log(n))2, where n is the input size. If the program takes 30 ms to process input of size 100, how long will it take to process...
a) input if size 10,000?
b) input of size 100,000,000?
Justify your answers using on or more rules of thumb. (Do not solve an equation to get the answer.)

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!