šŸ”µ Vertex Cover
šŸ”µ

Vertex Cover

The problem

Given a graph and a number k, is there a set of at most k nodes that touches every edge? Every edge needs at least one endpoint in the set.

Quick example

abc

Selecting just b covers both edges a–b and b–c. Vertex cover of size 1!

Two levels

Level 1: verify proposed solutions. Is the given set a valid cover?

Level 2: find your own. No hints.