The blind man and the four pills
A blind man must take exactly one red pill and one blue pill every day, or he will die. The pills are identical in size, shape, weight and texture; only their colour differs.
One day he drops two red pills and two blue pills on the table and cannot tell which is which. He has no more pills and nobody to ask.
How does he take exactly one red and one blue today, and again tomorrow?
Show a hint
He does not need to identify the pills. He needs to swallow the right amount of each colour.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Ali and the eight loavesThe bookworm and the ten volumesBorn on the same day, same parents, not twinsThe bridge with the sleepy guardEscaping a fire on a long thin islandThree switches and one bulb
All questions →