Menu Close

Category: Logic

There-are-2-doors-in-a-room-and-only-one-of-them-leads-to-exit-There-is-one-watchman-who-tosses-a-coin-when-you-ask-a-question-and-speaks-truly-or-falsely-based-on-the-toss-Also-watchman-gives-answe

Question Number 843 by prakash jain last updated on 05/Apr/15 $$\mathrm{There}\:\mathrm{are}\:\mathrm{2}\:\mathrm{doors}\:\mathrm{in}\:\mathrm{a}\:\mathrm{room}\:\mathrm{and}\:\mathrm{only} \\ $$$$\mathrm{one}\:\mathrm{of}\:\mathrm{them}\:\mathrm{leads}\:\mathrm{to}\:\mathrm{exit}.\:\mathrm{There}\:\mathrm{is}\:\mathrm{one} \\ $$$$\mathrm{watchman}\:\mathrm{who}\:\mathrm{tosses}\:\mathrm{a}\:\mathrm{coin}\:\mathrm{when}\:\mathrm{you} \\ $$$$\mathrm{ask}\:\mathrm{a}\:\mathrm{question}\:\mathrm{and}\:\mathrm{speaks}\:\mathrm{truly}\:\mathrm{or}\:\mathrm{falsely} \\ $$$$\mathrm{based}\:\mathrm{on}\:\mathrm{the}\:\mathrm{toss}.\:\mathrm{Also}\:\mathrm{watchman} \\ $$$$\mathrm{gives}\:\mathrm{answer}\:'\mathrm{da}'\:\mathrm{or}\:'\mathrm{ja}'\:\mathrm{one}\:\mathrm{of}\:\mathrm{which}\:\mathrm{means} \\ $$$$\mathrm{yes}\:\left(\mathrm{you}\:\mathrm{don}'\mathrm{t}\:\mathrm{know}\:\mathrm{which}\:\mathrm{one}\:\mathrm{means}\:\mathrm{yes}\right). \\ $$$$…