HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Vertex Cover of size at most $\log n$

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
logvertexsizecovermost

Problem

Consider the following language:
$$
L = \{ G | G \text{ has a VC of size at most } \log n \}
$$

Does $L\in P$ or $L\in NPC$?

Solution

If you solve Vertex Cover with the simple branching algorithm, you achieve an FPT running time of $2^k \text{poly}(n)$, where $k$ is an upper bound for the solution you are looking for.

Substituting $k$ for $\log n$ gives you the answer you are looking for.

Context

StackExchange Computer Science Q#108507, answer score: 5

Revisions (0)

No revisions yet.