Question: The running time of an algorithm is T (n) = log 2 n if the input n is squared, then the running time is increased

The running time of an algorithm is T (n) = log2 n if the input n is squared, then the running time is increased by 1

Select one:

True

False

2)

If there are 2 algorithms F1(n) =n3/10 and F2(n)=100n2 then we can say

Select one:

a.

F1 has always less time for large input

b.

F1 has always less time

c.

F2 has always less time for large input

d.

F2 has always less time

3)

One of the following algorithm considered as exhaustive search

a.

Quick sort

b.

Assignment job

c.

Binary search

d.

Closest pair

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!