All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · September 2022

Consider the following statements on approximation algorithms:
Statement I: APPROX-VERTEX-COVER is a polynomial-time 2-approximation algorithm.
Statement II: APPROX-TSP-TOUR is a polynomial-time 3-approximation algorithm for the travelling salesman problem with the triangle inequality.
Which of the following is correct?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. Statement I true and Statement II false

Explanation

CLRS proves both APPROX-VERTEX-COVER and APPROX-TSP-TOUR (MST preorder walk) are 2-approximations, so the '3-approximation' claim is wrong.

More Data Structures and Algorithms questions