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
Get step-by-step solutions from verified subject matter experts
