Constraint Satisfaction
This exercise is a variant of the
Einstein's Puzzle. It
comes from www.riddleaday.com.
Let us imagine the following situation:
There are five cars
parked next to each other in the parking garage. Each car has a
different color. Each of the five car owners drinks a different
beverage, has a different hobby (or participates in a different sport)
and owns a different breed of dog. No two owners prefer the same
beverage, have the same hobby (or sport), or own the same breed of dog.
Here are some additional facts:
- Mark owns the first car.
- Lucie owns the teal car.
- Dave drinks sparkling water.
- The purple car is on the left of the tan car.
- The one who races cars parks next to the one who drinks espresso.
- Brenda has a Yellow Lab.
- The one who golfs, also drinks tea.
- The purple car owner drinks raspberry mocha.
- The person who collects stamps also has two poodles.
- The person who races cars, parks next to the one who has a
terrier.
- The person who has a collie parks next to the one who swims.
- Susan paints oil paintings.
- The owner of the center car drinks grape soda.
- Mark parks his car next to the blue car.
- The owner of the green car swims.
The question is: Who owns the Bichon Frise (it's a dog)?
You may wish to look at the solution of Einstein's Puzzle for
inspiration.