final(6) - CS 473U Final Exam Questions (December 15, 2006)...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

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

Unformatted text preview: CS 473U Final Exam Questions (December 15, 2006) Fall 2006 1. A double-Hamiltonian circuit in an undirected graph G is a closed walk that visits every vertex in G exactly twice , possibly by traversing some edges more than once. Prove that it is NP-hard to determine whether a given undirected graph contains a double-Hamiltonian circuit. 2. Suppose you are running a web site that is visited by the same set of people every day. Each visitor claims membership in one or more demographic groups ; for example, a visitor might describe himself as male, 31-40 years old, a resident of Illinois, an academic, a blogger, a Joss Whedon fan 1 , and a Sports Racer. 2 Your site is supported by advertisers. Each advertiser has told you which demographic groups should see its ads and how many of its ads you must show each day. Altogether, there are n visitors, k demographic groups, and m advertisers. Describe an efficient algorithm to determine, given all the data described in the previous paragraph, whether you can show each visitor exactly one ad per day, so that every advertiser has its desired number of ads displayed, and every ad is seen by someone in an appropriate demographic group.demographic group....
View Full Document

This note was uploaded on 10/14/2011 for the course ECON 101 taught by Professor Smith during the Spring '11 term at West Virginia University Institute of Technology.

Page1 / 2

final(6) - CS 473U Final Exam Questions (December 15, 2006)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online