Below is a map of Alpeno, which shows all the horizontal, vertical, and diagonal streets of the city. The local government is planning to place CCTV cameras around the streets to fight the increase in crime, but they are on a tight budget.
What is the minimum number of security cameras that need to be placed to get a full view of all the streets?
Assumptions and Hints:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
There are seven streets going diagonally from the lower-left to the upper-right, and each camera can monitor at most one of these streets, so there need to be at least seven cameras. The diagram below shows that seven cameras suffice, so this is the answer.