Neeldhara
  • About
  • Research
    • Overview
    • People
    • Publications
    • Surveys
  • Teaching
    • Courses
    • Materials
  • Lists
    • Puzzles
    • Bookmarks
  • Exposition
    • Talks
    • Videos
  • Events
  • Blog

CS614. Advanced Algorithms. L12 Quiz.

CS614. Advanced Algorithms.

L12 Quiz

Back to the course page

Problem 1. List Coloring

In the List Coloring problem, we are given a graph GGG and for each vertex v∈V(G)v \in V(G)v∈V(G) there is a set (also called a list) of admissible colors L(v)⊆NL(v) \subseteq NL(v)⊆N. The goal is to verify whether it is possible to find a proper vertex coloring c: V(G)→NV(G) \rightarrow \mathbb{N}V(G)→N of GGG such that for ever y vertex vvv we have c(v)∈L(v)c(v) \in L(v)c(v)∈L(v). In other words, L(v)L(v)L(v) is the set of colors allowed for vvv.

Show a 2nnO(1)2^n n^{\mathcal{O}(1)}2nnO(1)-time algorithm for List Coloring.

Hint. Read Theorem 10.8 from the Parameterized Algorithms text.

Problem 2. Triangle Packing

In the Triangle Packing problem, we are given an undirected graph GGG and a positive integer kkk, and the objective is to test whether GGG has kkk-vertex disjoint triangles. Using color coding show that the problem admits an algorithm with running time 2O(k)nO(1)2^{O(k)} n^{O(1)}2O(k)nO(1).


© 2022 • Neeldhara Misra • Credits •

 

Corrections? Please leave a comment here or a PR in this repository, thanks!

I’d rather be a failure at something I love than a success at something I hate.

George Burns

You live and you learn — at any rate, you live.

Douglas Adams

A problem worthy of attack proves its worth by fighting back.

Paul Erdos

×