# Logical Puzzle

Hi friends ,,the below question is asked in one of my interview... And I am unable to answer 😅 I also referred Internet but I can't understand the answers given there .....So ,,,, if anyone knows the answer for this Puzzle please explain 😊.... Question :- ——————— ""There are three boxes in a table. One of the box contains Gold and the other two are empty. A printed message contains in each box. One of the message is true and the other two are lies. The first box says 'The Gold is not here'. The Second box says 'The Gold is not here'.The Third box says 'The Gold is in the Second box'. Which box has the Gold???""

11/19/2019 7:16:42 AM

HemaLatha40 Answers

New AnswerSeb TheS Kit Delano Cat Rik Wittkopp Jaya krishna Njeri Harsh Namdev Swati K Firdous Khan ROHIT ₦ØØⱤ ₳Ⱡł Thanks for Ur answers dr friends ☺️😇

Guys you can refer Programming Implementation for the question I asked through the following thread Thanks to Kit Delano Cat https://www.sololearn.com/post/178771/?ref=app

Kit Delano Cat Yeah Friend... I asked this bcz it's an HR interview .😅they asked only Ans not program implementation for me .... and Thanks for Ur answers 🍫🍭🍰🍰🍬 ...and if this puzzle can be implemented through program ,,, Can share Ur thoughts/ideas.... It may help other students to solve it programmatically during interviews

Kit Delano Cat and Rik Wittkopp Logically...I want answer 😅☺️ bcz It's a puzzle asked in the HR interview....

Are you after a code to resolve this question, or just an answer to the puzzle, with explanation? If latter: Box 1 has the gold. 1 truth, 2 lies: Box 1 - gold not here, (lie) Box 2 - gold not here, (truth) Box 3 - gold in box 2, (lie)

I think Gold is in box 1: Because according to box messages: Condition is 1 true, 2lies[1T,2F] Case 1: assume box 1 is saying true, so gold should be in 2 or 3 , if it is in 2, box 3 message will come true, condition [1 true, 2lies] fails. If it in 3, box 2 msg becomes true again condition fails. Case 2: assume box 2 is saying true, then gold in may be in 1 or 3. If it is 1, box 1 msg is false, and box 3 msg is false, hence condition[1T,2F] satisfied. If it is in 3, box msg 1 becomes true, condition fails. Case 3: assume box 3 msg is true, then gold is in box 2 or 1; if it in 1 then , box 1msg will become false and box 2msg becomes true condition fails. If it is in 2, box2 msg becomes false, and box1 msg becomes true. Condition fails. In Accordings, the case 2 giving the answer gold is in box 1;

I would make a table of all "possible" situations. Gold is not in first box ~ Gold Not In 1 ~ GNI1 Gold is not in second box ~ Gold Not In 2 ~ GNI2 Gold is in the second box ~ Gold In 2 ~ GI2 GNI1 | GNI2 | GI2 1 | 1 | 1 1 | 1 | 0 1 | 0 | 1 1 | 0 | 0 0 | 1 | 1 0 | 1 | 0 0 | 0 | 1 0 | 0 | 0 I won't spoil more.

Case 2: IF, Box (1) :- false = gold is not here 😈 Box (2):- true= gold is not here 😇 Box (3) :- false= gold is in second box😈 ( i m lying ) [ " here we observe that if 2nd statement is true. Then 3rd statement is satisfying 2nd statement. that , " gold is not in 2nd box " by lying or by giving false statement , also 1st statement is lying hence we get that our gold is in 1st box , all three statements are satisfying each other ] 😍. Lets see third case , Case 3 : IF, Box (1) :- false = gold is not here 😈 Box (2):- false = gold is not here😈 Box (3) :- true = gold is in second box 😇 [ " here we again observe that if first statement is false, Then 2nd and 3rd statement satisfying each other but 1st statement is not satisfying 2nd and 3rd statement then here it is not determind , ..( also this condition is not satisfying the statements of question) ] Thank uhh 😘

One can easely understand this if write this cases on a paper by there own hands . so try this ones

Here's my solution: Assume box 1 is the one telling the truth. Then box 2 and box 3 are liars. Box 2 says the gold is not there, but it's a liar, so the gold is there in box 2. Box 3 says the gold is in box 2 but it is also a liar, so the gold is not in box 2. The gold being and not being in box 2 at the same time is a contradiction, so our original assumption was false, i.e. box 1 must actually be a liar. Box 1 says the gold is not there, but we have shown that it is a liar, so the gold must be there in box 1. This also checks out as the solution with box 2 telling the truth and box 3 being the other liar.

This is a statement based question First we assume three cases where Case 1 :- box first is true Case 2:- box 2nd is true Case 3:- box 3rd is true In this cases we will get three statements in each case , if all three statement satisfyes each others then that case will be true and we will get our gold 😍 So, lets do this Case 1: IF, Box (1) :- true = gold is not here 😇 Box (2):- false = gold is not here😈 Box (3) :- false = gold is in second box 😈 [ " here we observe that if first statementis true. Then 2nd and 3rd statement are contradicting each others or not satisfying each others then here it is not determind , lets see 2nd case ]

So let's talk about 3 possible cases : a) gold is in 3rd box : then first box and second box are true and third box lies. (2 true,1lie) that's not satisfies the condition.... b) gold is in 2nd box : then first box and third box are true and second box lies. (2 true,1 lie) again,this also not satisfied the condition. *So we can understand where the gold is,but let's take a look... c)gold is in 1st box : then first box and third box are lie and 2nd box true !! (2 lie,1true) that satisfied the condition !!! #So gold is in 1st box !!

V Sparshika It is not in the second box, if it was: First text would be true Second text would be false Third text would also be true

Nice puzzle :1 truth and 2 lies: Box 1 labelled message: "Gold is not here" If truth is gold is not here, otherwise if it is a lie, gold is here. Box 2 labelled message: "Gold is not here" If truth is gold is not here, otherwise if it is a lie, gold is here. Box 3 labelled message: "Gold is not in Box 2" If it is true, then gold is not in box 3, and also Box 2 labelled message should be a lie, but at the same time two boxes says true which is contradiction... So if box 3 message is a lie, then it means "Gold is in Box 2", followed by a lie message in Box 2 "Gold is not here", at the same time proves Box 1 is true... Box 1 message is true box 2 message is a lie Box 3 message is a lie...

Reversed to avoid spoiling. eil si txet drihT hturt si txet dnoceS eil si txet tsriF :xob tsrif eht ni si dlog fI .xob tsrif eht ni eb osla dluoc ti thguoht I V Sparshika

Condition: 1 Truth, 2 False. TFF FTF FFT #To evaluate Logical consistency, we must find the two messages that contradict each other. These two arguements (msg2 & msg3) are self refuting and cancel each other out leaving us with msg1 as the TRUTH. Conclusion: BOX 1 Has the GOLD

>...“one contains gold and the others are empty. Each box contains a printed message...“ That‘s a contradiction in itself. I guess each box belongs to Schrödinger.