Professional Documents
Culture Documents
HW 7
HW 7
Instructions
• You are forbidden from consulting the internet. You are strongly encouraged to work on the problems on your
own.
• You may discuss these problems with others. However, you must write your own solutions and list your
collaborators for each problem.
• Academic dishonesty/plagiarism will be dealt with severe punishment.
• Late submissions are accepted only with prior approval (on or before the day of posting of HW) or medical
certificate.
• Please be concise in your answers (for each problem, you are NOT expected to write more than ONE page).
1. Let G = (V, E) be a graph of maximum degree d. Give an efficient algorithm to color it using at most d + 1 colors.
4. (CLRS 35.4-2)
The MAX-CNF satisfiability problem is like the MAX-3-CNF satisfiability problem, except that it does not
restrict each clause to have exactly 3 literals. Give a randomized 1/2-approximation algorithm for the MAX-CNF
satisfiability problem.