Solve the zebra puzzle.
Each of the five houses is painted a different color, and their inhabitants are of different national extractions, own different pets, drink different beverages and smoke different brands of cigarettes.
Which of the residents drinks water? Who owns the zebra?
Sign up to Exercism to learn and master Raku with 77 exercises, and real human mentoring, all for free.
Explore 8 different ways of finding the Zebra Puzzle solution from 24 billion possible solutions, including ignoring invalid permutations as soon as possible, the AC-3 algorithm, a very succinct logic-based solution and even a genetic algorithm!