Two guards, two doors

MediumBrainteasers~5m

There are two doors: one safe, one fatal. Two guards stand watch — one always lies, one always tells the truth — but you don't know which is which. You may ask one guard a single yes/no question. What do you ask to find the safe door?

Show hints (2)+
  1. Force the lie and the truth to compose.
  2. Ask about what the other guard would say, then invert.

Answer

This is an open-ended question — work through it and compare your reasoning.

Want the full step-by-step worked solution? It's part of Premium — along with a worked solution for every question in the bank.

Asked at: Jane Street, SIG

Related questions