---

Truth, Liar, Random cannot be solved with 3 questions

Three gods A, B, and C are called, in no particular order, True, False, and Random. True always speaks truly, False always speaks falsely, but whether Random speaks truly or falsely is a completely random matter. Your task is to determine the identities of A, B, and C by asking three yes-no questions; each question must be put to exactly one god.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis