Question: Suppose you have an algorithm with time complexity T ( n ) = ( ( l o g 2 ( n ) ) 3 )

Suppose you have an algorithm with time complexity T(n)=((log2(n))3)
which for inputs of size n=1000 runs in exactly 1 second on your computer.
Which of the following alternatives is the most reasonable guesstimate for how
large values of n the algorithm could solve in 1 minute (60 seconds)?
(Even though the nature of asymptotics are such that you cannot know exactly
how long the algorithm will run, you should give a reasonable best guess based
on the available information. Assume that the time complexity T(n) is the only
thing you know about the algorithm and that e.g. its memory usage does not
have any strange effects on its running time.)
n=500
n=1050
n=1500
n=7000
n=25000
n=105
n=1010
n=1020
Can you explain the solution?
 Suppose you have an algorithm with time complexity T(n)=((log2(n))3) which for

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!