I left my campsite and hiked south for 3 miles. Then I turned east and hiked for 3 miles. I then turned north and hiked for 3 miles, at which time I came upon a bear inside my tent eating my food! What colour was the bear?
I have one of the three numbers: 1, 2, or 3 in my mind. I speak only truth. You can ask me just one question for which I will only reply in yes or no or don't know. What question will you ask from me so that you are able to know the number?
The interviewer has given me 100 marbles(50 white and 50 black) and two empty boxes.
He then told me that he will leave the room and i need to place all the marbles in two boxes.
And When he come back, he will draw a marble from any of the two box and if the marble is white I will be hired.
Also
* No box can be empty.
* All 100 marbles must be placed in one of the two boxes.
In the Chess Board picture below white army is arranged. You need to add a black army on the board such that no piece is under any threat.
Note: Army comprised of 1 king, 1 queen, 2 rooks, 2 bishops, 2 knights, and 8 pawns.