How can two doctors operate two patients with only two pairs of latex gloves?!
The Python 🐍 problem-solving bootcamp is starting soon. Join the second cohort now!
Alice and Bob are a bit sick, and they need to undergo surgery. Both of them need something done to their stomach and their heart.
Unfortunately, the hospital is severely underfunded and only has two pairs of latex gloves at their disposal.
How can Charles and Diana (respectively the stomach and heart surgeons) operate, knowing that
Sadly, washing the gloves is out of the question, because the hospital has no means of properly sanitising the gloves!
Give it some thought!
If you need any clarification whatsoever, feel free to ask in the comment section below.
My uncle told me this puzzle a long time ago! I had a blast solving it!
Congratulations to the ones that solved this problem correctly and, in particular, to the ones who sent me their correct solutions:
Join the list of solvers by emailing me your solution!
The solution for this is as follows:
Let the gloves be numbered 1 and 2.
At this point, gloves 1 touched Charles' skin and Bob's blood, while gloves 2 only touched Alice's blood but no one's skin.
There you have it! This is the way to go. Not very hygienic, but works from the logic point of view, doesn't it?
Don't forget to subscribe to the newsletter to get bi-weekly problems sent straight to your inbox.
I write about Python every week. Join +16.000 others who are taking their Python 🐍 skills to the next level 🚀, one email at a time.