Riddle #521

logic

Sock drawer

You have a sock drawer. It has 4 black socks, 8 brown socks, 2 white socks and 8 tan socks. You need to pull out a matching pair of socks in the dark. There is no light and you couldn’t see the socks. How many socks you should pull out in the dark to get one matching pair of socks? .
Five. You have only four different colors of socks. If you pick 5, you can surely get one pair of matching socks.
93.39 %
38 votes

Similar riddles

See also best riddles or new riddles.

logic

Barber

A sign on the barber's door says "I shave only those who do not shave themselves." Does the barber shave himself?
There is no answer, it's a paradox. It cannot be made to work.
93.22 %
37 votes

logicmath

2 Player and N Coin – Strategy Puzzle

There are n coins in a line. (Assume n is even). Two players take turns to take a coin from one of the ends of the line until there are no more coins left. The player with the larger amount of money wins. Would you rather go first or second? Does it matter? Assume that you go first, describe an algorithm to compute the maximum amount of money you can win. Note that the strategy to pick maximum of two corners may not work. In the following example, first player looses the game when he/she uses strategy to pick maximum of two corners. Example 18 20 15 30 10 14 First Player picks 18, now row of coins is 20 15 30 10 14 Second player picks 20, now row of coins is 15 30 10 14 First Player picks 15, now row of coins is 30 10 14 Second player picks 30, now row of coins is 10 14 First Player picks 14, now row of coins is 10 Second player picks 10, game over. The total value collected by second player is more (20 + 30 + 10) compared to first player (18 + 15 + 14). So the second player wins.
Going first will guarantee that you will not lose. By following the strategy below, you will always win the game (or get a possible tie). (1) Count the sum of all coins that are odd-numbered. (Call this X) (2) Count the sum of all coins that are even-numbered. (Call this Y) (3) If X > Y, take the left-most coin first. Choose all odd-numbered coins in subsequent moves. (4) If X < Y, take the right-most coin first. Choose all even-numbered coins in subsequent moves. (5) If X == Y, you will guarantee to get a tie if you stick with taking only even-numbered/odd-numbered coins. You might be wondering how you can always choose odd-numbered/even-numbered coins. Let me illustrate this using an example where you have 6 coins: Example 18 20 15 30 10 14 Sum of odd coins = 18 + 15 + 10 = 43 Sum of even coins = 20 + 30 + 14 = 64. Since the sum of even coins is more, the first player decides to collect all even coins. He first picks 14, now the other player can only pick a coin (10 or 18). Whichever is picked the other player, the first player again gets an opportunity to pick an even coin and block all even coins.
93.84 %
41 votes

logicmystery

Mystery

A man entered his house and was about to hang up his coat when he heard his wife shout; "No John! Don’t do it!" There was a shot and he could hear his wife fall down. When he entered the kitchen he saw his wife and the gun lying on the floor. There was a police officer, a doctor, and a lawyer standing next to her. Peter immediately knew that the police officer had shot her. But how did he come to know?
The police officer was the only man while the doctor and lawyer were ladies. Peter on a second glance would also read the police officer’s name on his name tag as "John". Peter’s wife was saying, "No John! Don’t do it!" to the police officer and the police officer shot her anyway.
63.32 %
54 votes

logicmystery

Kidnapped kid

A rich man's son was kidnapped. The ransom note told him to bring a valuable diamond to a phone booth in the middle of a public park. Plainclothes police officers surrounded the park, intending to follow the criminal or his messenger. The rich man arrived at the phone booth and followed instructions but the police were powerless to prevent the diamond from leaving the park and reaching the crafty villain. What did he do?
This is a true story from Taiwan. When the rich man reached the phone booth he found a carrier pigeon in a cage. It had a message attached telling the man to put the diamond in a small bag which was around the pigeon's neck and to release the bird. When the man did this the police were powerless to follow the bird as it returned across the city to its owner.
78.87 %
63 votes

logicmathmystery

Tricky but simple Math Equation

100 people are standing in a circle. The person standing at number 1 is having a sword. He kills the person next to him with the sword and then gives the sword to the third person. This process is carried out till there is just one person left.
Till the number is the power of 2, the last person to survive will be the one who started it. But since the number here is not the power of 2, we will take the greatest power of 2 that is less than the number which is 64. 100 - 64 = 36 36 people are killed as 2, 4, 6, ..., 72. Thus the sword will now be given to the 73rd person. Now he is the first person to start in the remaining 64 people. Thus he will be the one to survive.
78.06 %
49 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

logic

Two convicts and the scape plan

Two convicts are locked in a cell. There is an unbarred window high up in the cell. No matter if they stand on the bed or one on top of the other they can't reach the window to escape. They then decide to tunnel out. However, they give up with the tunnelling because it will take too long. Finally one of the convicts figures out how to escape from the cell. What is his plan?
His plan is to dig the tunnel and pile up the dirt to climb up to the window to escape.
90.04 %
42 votes

logicshort

Six rungs

A boat has a ladder that has six rungs, each rung is one foot apart. The bottom rung is one foot from the water. The tide rises at 12 inches every 15 minutes. High tide peaks in one hour. When the tide is at it's highest, how many rungs are under water?
None, the boat rises with the tide.
89.58 %
40 votes