Consider the following task of building a zoo for Drexel! You've gathered m donors to fund the creation of your new park, and you've picked the location, so now you just need to choose the inhabitants. Ideally you'd get every animal imaginable, except you just don't have space. As it is, you have room to comfortably t k animals. Since you'd like to ensure that your funding doesn't dry up, you gure your donors should get to make requests about which animals will be kept. After sending out a few emails, you collect from each donor i a list of animals Ai which donor i would like to have at the zoo. As you suspected, the total number of di erent animals appearing on the m lists exceeds k, so you won't be able to satisfy all of their requests. You decide the fairest thing to do is to ensure that at least 1 animal from each Ai is chosen. Given all these lists, we want to know whether we can select a set H of at most k animals to put in the zoo such that each donor i will be able to see at least one of the animals from her list Ai (that is, H \ Ai is non-empty for each i). Prove that this problem is NP-complete.
Consider the following task of building a zoo for Drexel! You've gathered m donors to fund the creation of
your new park, and you've picked the location, so now you just need to choose the inhabitants. Ideally you'd
get every animal imaginable, except you just don't have space. As it is, you have room to comfortably t
k animals. Since you'd like to ensure that your funding doesn't dry up, you gure your donors should get
to make requests about which animals will be kept. After sending out a few emails, you collect from each
donor i a list of animals
of di erent animals appearing on the m lists exceeds k, so you won't be able to satisfy all of their requests.
You decide the fairest thing to do is to ensure that at least 1 animal from each Ai is chosen.
Given all these lists, we want to know whether we can select a set H of at most k animals to put in the
zoo such that each donor i will be able to see at least one of the animals from her list Ai (that is, H \ Ai is
non-empty for each i).
Prove that this problem is NP-complete.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)