Question: Suppose an algorithm runs in time 2 0 0 l o g 2 ( n ) + 2 5 0 time in the worst case

Suppose an algorithm runs in time 200log2(n)+250 time in the worst case as a function of the input size n, which of the options below are correct?
2 points
The running time is (log10(n)) since log10(n)=log2(n)log2(10) is a constant factor times log2(n).
It is impossible for an algorithm to have a running time that is smaller than the input size.
The running time of the algorithm is O(n)
 Suppose an algorithm runs in time 200log2(n)+250 time in the worst

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!