โ† TCS questions
Reported in a candidate post, Jul 2023

Gatekeepers to Heaven and Hell puzzle

Filed under TCS

The question

Given two gates with two gatekeepers (one always tells the truth, one always lies), formulate a single question to ask one gatekeeper to determine the gate to heaven.

No write-up yet. Related questions below have one.

Related TCS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.