Puzzles
The following section introduces logic puzzles. You can find the puzzle solutions in the section that follows this one.
Someone once said, "A puzzle is its own reward." Enjoy!
Puzzle 1: Medication Tablets
Imagine that you’ve been diagnosed with a rare disease. Your physician prescribes two medications for you—call them A and B. Each bottle contains three tablets, and both medication tablets have exactly the same size, shape, color, and smell. Each bottle is marked with the medication type, one bottle with A and the other B, but the pills themselves aren’t marked. You’re instructed to take one A tablet and one B tablet every day for three days. Following the instructions correctly will cure you completely, but following the instructions incorrectly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access