Question: ( Each problem is 2 points. ) ( a ) ( 2 points ) Suppose that AlgA and AlgB are two algorithms that solve the
Each problem is points.
a points
Suppose that AlgA and AlgB are two algorithms that solve the same problem. If the runtime of AlgA on an input of size is exponential in terms of and the runtime of AlgB is polynomial in terms of then AlgB will always run faster than AlgA on all inputs.
True
False
b points Suppose that and Assuming that what is true about and
c Suppose Use Master Theorem to solve this recurrence. give the values of and and the closed form of the recurrence in terms of
d points If is in NP and A reduces to then must be in NP
True
False
Unknown
e points If the vertices of a DAG are put in topological ordering then all of the edges go from a vertex earlier in the list to a vertex later in the list.
True
False
f points If is in and is NPcomplete then A reduces to
True
False
Unknown
g pointsSAT is in
True
False
Unknown
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
