Week 10 Flashcards

1
Q

How are NP-hard problems dealt with?

A

Approximation and randomized algorithms
Exact exponential time algorithms (via branching + dynamic programming)
Fixed parameter tractable algorithms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the recurrence featured in Vertex Cover, and how is it solved?

A

T(n) <= T(n - 1) + T(n - 3), where n = input size.

Solved by setting T(n) = x^n.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does n! roughly equal?

A

(n / e)^n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PROBLEM: Set Cover

A

Given sets
U = {u1 , u2 , . . . , uN } of N elements and
S = {S1 , S2 , . . . , SM } of non-empty subsets of U such that |S| = M

Find a collection S’ from S of minimum size such that union of sets in S’ covers all elements of U.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an FPT algorithm?

A

A parameterized problem with parameter k and input size n is said to be fixed-parameter tractable (FPT) if it can be solved in f (k) · n^O(1) time, for some function f , where k <= n.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the k-VC problem?

A

Given an undirected graph G = (V, E) on n vertices and a parameter k, is there a set X ⊆ V of size <= k such that each edge of G has at least one end-point in X.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly