Finalqs - Practice questions for the final exam 1 Look...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Practice questions for the final exam 1. Look over previous homeworks and practice questions. 2. Try exercises 3.23, 4.3, 4.15, 5.3, 5.9(e,f,g), 6.19, 7.4, 7.18, 7.21, 7.22, 8.1, 8.16. 3. Consider the following variant of the Clique problem. Max Clique Input: An undirected graph G Output: The largest clique in G (ie. return the actual subset of vertices) Show that Max Clique reduces to Clique. 4. Here are two related problems. Hamilton Path Input: An undirected graph G = (V, E ) Question: Does G have a path which touches each vertex exactly once? CSE 101 Taxicab Ripoff Input: An undirected graph G = (V, E ) with positive edge weights we ; two nodes s, t ∈ V ; an integer k Output: Is there a simple path (ie. no repeated vertices) from s to t such that the total length of the path is at least k ? Show that Hamilton Path reduces to Taxicab Ripoff. 5. The Degree-Bounded Spanning Tree problem is the following. Input: An undirected graph G = (V, E ) with edge weights we ; an integer k Question: Does G contain a spanning tree in which each node has degree ≤ k ? Show that this problem is as hard as Hamilton Path. 1 ...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online