31. Truthful and Liar Robots Imagine you face two doors—one of which is the good door—and two robots. One robot always tells the truth, and the other always lies. You are allowed to ask one question to one of the robots. If you ask the truthful robot, "What would the liar robot say is the good door?" which door should you choose to ensure you pick the good door? Added 30 July 2009 Show Solution Solution: You should choose the opposite door from the one indicated by the robot’s answer. Here’s why: the truthful robot will accurately report that the liar robot would point to the wrong door. Thus, the door indicated by the answer is guaranteed not to be the good door.
Comments (1)
Your solution works when asking the truthful robot, but fails with the liar robot. Please clarify my understanding.
Add a Comment or Suggest an Answer