Riddle #781

logic

Twelve balls, one different

You have twelve balls, identical in every way except that one of them weighs slightly less or more than the balls. You have a balance scale, and are allowed to do 3 weighings to determine which ball has the different weight, and whether the ball weighs more or less than the other balls. What process would you use to weigh the balls in order to figure out which ball weighs a different amount, and whether it weighs more or less than the other balls?
Take eight balls, and put four on one side of the scale, and four on the other. If the scale is balanced, that means the odd ball out is in the other 4 balls. Let's call these 4 balls O1, O2, O3, and O4. Take O1, O2, and O3 and put them on one side of the scale, and take 3 balls from the 8 "normal" balls that you originally weighed, and put them on the other side of the scale. If the O1, O2, and O3 balls are heavier, that means the odd ball out is among these, and is heavier. Weigh O1 and O2 against each other. If one of them is heavier than the other, this is the odd ball out, and it is heavier. Otherwise, O3 is the odd ball out, and it is heavier. If the O1, O2, and O3 balls are lighter, that means the odd ball out is among these, and is lighter. Weigh O1 and O2 against each other. If one of them is lighter than the other, this is the odd ball out, and it is lighter. Otherwise, O3 is the odd ball out, and it is lighter. If these two sets of 3 balls weigh the same amount, then O4 is the odd ball out. Weight it against one of the "normal" balls from the first weighing. If O4 is heavier, then it is heavier, if it's lighter, then it's lighter. If the scale isn't balanced, then the odd ball out is among these 8 balls. Let's call the four balls on the side of the scale that was heavier H1, H2, H3, and H4 ("H" for "maybe heavier"). Let's call the four balls on the side of the scale that was lighter L1, L2, L3, and L4 ("L" for "maybe lighter"). Let's also call each ball from the 4 in the original weighing that we know aren't the odd balls out "Normal" balls. So now weigh [H1, H2, L1] against [H3, L2, Normal]. -If the [H1, H2, L1] side is heavier (and thus the [H3, L2, Normal] side is lighter), then this means that either H1 or H2 is the odd ball out and is heavier, or L2 is the odd ball out and is lighter. -So measure [H1, L2] against 2 of the "Normal" balls. -If [H1, L2] are heavier, then H1 is the odd ball out, and is heavier. -If [H1, L2] are lighter, then L2 is the odd ball out, and is lighter. -If the scale is balanced, then H2 is the odd ball out, and is heavier. -If the [H1, H2, L1] side is lighter (and thus the [H3, L2, Normal] side is heavier), then this means that either L1 is the odd ball out, and is lighter, or H3 is the odd ball out, and is heavier. -So measure L1 and H3 against two "normal" balls. -If the [L1, H3] side is lighter, then L1 is the odd ball out, and is lighter. -Otherwise, if the [L1, H3] side is heavier, then H3 is the odd ball out, and is heavier. If the [H1, H2, L1] side and the [H3, L2, Normal] side weigh the same, then we know that either H4 is the odd ball out, and is heavier, or one of L3 or L4 is the odd ball out, and is lighter. So weight [H4, L3] against two of the "Normal" balls. If the [H4, L3] side is heavier, then H4 is the odd ball out, and is heavier. If the [H4, L3] side is lighter, then L3 is the odd ball out, and is lighter. If the [H4, L3] side weighs the same as the [Normal, Normal] side, then L4 is the odd ball out, and is lighter.
94.36 %
45 votes

Similar riddles

See also best riddles or new riddles.

cleanlogicmath

Mick and John

Mick and John were in a 100 meter race. When Mick crossed the finish line, John was only at the 90 meter mark. Mick suggested they run another race. This time, Mick would start ten meters behind the starting line. All other things being equal, will John win, lose, or will it be a tie in the second race?
John will lose again. In the second race, Mick started ten meters back. By the time John reaches the 90 meter mark, Mick will have caught up him. Therefore, the final ten meters will belong to the faster of the two. Since Mick is faster than John, he will win the final 10 meters and of course the race.
93.70 %
40 votes

logicmath

Camel and Banana

The owner of a banana plantation has a camel. He wants to transport his 3000 bananas to the market, which is located after the desert. The distance between his banana plantation and the market is about 1000 kilometer. So he decided to take his camel to carry the bananas. The camel can carry at the maximum of 1000 bananas at a time, and it eats one banana for every kilometer it travels. What is the most bananas you can bring over to your destination?
First of all, the brute-force approach does not work. If the Camel starts by picking up the 1000 bananas and try to reach point B, then he will eat up all the 1000 bananas on the way and there will be no bananas left for him to return to point A. So we have to take an approach that the Camel drops the bananas in between and then returns to point A to pick up bananas again. Since there are 3000 bananas and the Camel can only carry 1000 bananas, he will have to make 3 trips to carry them all to any point in between. When bananas are reduced to 2000 then the Camel can shift them to another point in 2 trips and when the number of bananas left are <= 1000, then he should not return and only move forward. In the first part, P1, to shift the bananas by 1Km, the Camel will have to Move forward with 1000 bananas – Will eat up 1 banana in the way forward Leave 998 banana after 1 km and return with 1 banana – will eat up 1 banana in the way back Pick up the next 1000 bananas and move forward – Will eat up 1 banana in the way forward Leave 998 banana after 1 km and return with 1 banana – will eat up 1 banana in the way back Will carry the last 1000 bananas from point a and move forward – will eat up 1 banana Note: After point 5 the Camel does not need to return to point A again. So to shift 3000 bananas by 1km, the Camel will eat up 5 bananas. After moving to 200 km the Camel would have eaten up 1000 bananas and is now left with 2000 bananas. Now in the Part P2, the Camel needs to do the following to shift the Bananas by 1km. Move forward with 1000 bananas – Will eat up 1 banana in the way forward Leave 998 banana after 1 km and return with 1 banana – will eat up this 1 banana in the way back Pick up the next 1000 bananas and move forward – Will eat up 1 banana in the way forward Note: After point 3 the Camel does not need to return to the starting point of P2. So to shift 2000 bananas by 1km, the Camel will eat up 3 bananas. After moving to 333 km the camel would have eaten up 1000 bananas and is now left with the last 1000 bananas. The Camel will actually be able to cover 333.33 km, I have ignored the decimal part because it will not make a difference in this example. Hence the length of part P2 is 333 Km. Now, for the last part, P3, the Camel only has to move forward. He has already covered 533 (200+333) out of 1000 km in Parts P1 & P2. Now he has to cover only 467 km and he has 1000 bananas. He will eat up 467 bananas on the way forward, and at point B the Camel will be left with only 533 Bananas.
94.48 %
46 votes

logicmath

Note: This riddle must be done IN YOUR HEAD ONLY and NOT using paper and a pen. Take 1000 and add 40 to it. Now add another 1000. Now add 30. Another 1000. Now add 20. Now add another 1000. Now add 10. What is the total?
The answer is 4100, check it out on a calculator. Did you think it was 5000? Most people add the 100 as 1000 by mistake.
93.55 %
39 votes

cleanfunnylogic

Blind in a hardware store

A blind man walks into a hardware store to buy a hammer. There are hammers hanging behind the front desk, but obviously the blind man isn't able to see them. And yet a few minutes later, he happily walks out of the store, having just purchased a new hammer. How did he do it?
He walks up the the front desk where the clerk is working and says "I'd like to buy a hammer."
93.70 %
40 votes

logicmath

Two coins

If you have two coins which total 35 cents and one of the coins is not a dime, what are the two coins?
A quarter and a dime. One coin is not a dime, but the other one is.
93.05 %
36 votes

interviewlogic

Heaven’s Gate Problem

You are standing before two doors. One of the path leads to heaven and the other one leads to hell. There are two guardians, one by each door. You know one of them always tells the truth and the other always lies, but you don’t know who is the honest one and who is the liar. You can only ask one question to one of them in order to find the way to heaven. What is the question?
The question you should ask is “If I ask the other guard about which side leads to heaven, what would he answer?”. It should be fairly easy to see that irrespective of whom do you ask this question, you will always get an answer which leads to hell. So you can chose the other path to continue your journey to heaven. This idea was famously used in the 1986 film Labyrinth. Here is the explanation if it is yet not clear. Let us assume that the left door leads to heaven. If you ask the guard which speaks truth about which path leads to heaven, as he speaks always the truth, he would say “left”. Now that the liar , when he is asked what “the other guard (truth teller) ” would answer, he would definitely say “right”. Similarly, if you ask the liar about which path leads to heaven, he would say “right”. As the truth teller speaks nothing but the truth, he would say “right” when he is asked what “the other guard( liar ) ” would answer. So in any case, you would end up having the path to hell as an answer. So you can chose the other path as a way to heaven.
94.11 %
43 votes

logic

Identifying a computer's password

A man worked for a high-security institution, and one day he went in to work only to find that he could not log in to his computer terminal. His password wouldn't work. Then he remembered that the passwords are reset every month for security purposes. So he went to his boss and they had this conversation: Man-"Hey boss, my password is out of date." Boss-"Yes, that's right. The password is different, but if you listen carefully you should be able to figure out the new one: It has the same amount of letters as your old password, but only four of the letters are the same." Man: "Thanks boss." With that, he went and correctly logged into his station. What was the new password? BONUS: What was his old password? HINT: It is nine letters long. Also, a "password" can be more than one word...
The old one was: Out of date The new one is: Different He said: My password is "Out of date." And the boss told him the new one when he said: "The password is different."
94.48 %
46 votes

cleanlogicwhat am I

Silver-tongued, but never lie

I’m teary-eyed but never cry, silver-tongued, but never lie. double-winged, but never fly, air-cooled, but never dry. What am I?
Mercury. The element looks shiny, silver, and is wet. The god Mercury has two wings but only uses them to run.
94.90 %
50 votes

logicshort

Possession of the team

Name the only sport in which the ball is always in possession of the team on defense, and the offensive team can score without touching the ball?
Baseball.
93.70 %
40 votes