Brain teasers

Riddles & logic puzzles

My favorite puzzles, starting with the four people crossing a bridge before it collapses. Try each one first, then open the hint, and finally the answer.

Jump to: Four people on a bridge · Two burning ropes · Two hourglasses · Wolf, goat and cabbage · Three knights and three bandits · Measure four gallons · Three switches and a bulb · The heavy ball · Two guards, two doors · The three doors · Quick riddles

Logic puzzles

1. Four people on a bridge

Classic

Four people need to cross a rickety bridge at night with one flashlight. The bridge holds only two people at a time, and anyone crossing must carry the flashlight. They walk at different speeds: 1, 2, 5 and 10 minutes to cross. A pair moves at the slower person’s pace. The bridge collapses in 17 minutes. Can they all get across?

Hint

The fastest walker will have to make several trips back with the flashlight. Think about who should cross together so the two slowest people only cross once.

Answer

Yes, in exactly 17 minutes.
1. The 1 and 2 minute walkers cross (2 min).
2. The 1 minute walker returns with the flashlight (1 min).
3. The 5 and 10 minute walkers cross together (10 min).
4. The 2 minute walker returns with the flashlight (2 min).
5. The 1 and 2 minute walkers cross again (2 min).
Total: 2 + 1 + 10 + 2 + 2 = 17.
The tempting plan, where the fastest walker escorts everyone across, takes 19 minutes. The trick is to send the two slowest together so their times overlap.

2. Two burning ropes

Medium

You have two ropes and a lighter. Each rope takes exactly 1 hour to burn from one end to the other, but they burn unevenly (half the rope does not necessarily take half an hour). How do you measure exactly 45 minutes?

Hint

A rope lit at both ends burns in half the time, no matter how unevenly it burns.

Answer

Light rope A at both ends and rope B at one end at the same moment. Rope A burns out in 30 minutes. At that instant, light the other end of rope B. Its remaining half hour of burning now takes 15 minutes, so when B finishes, 45 minutes have passed.

3. Two hourglasses

Medium

You have a 4-minute hourglass and a 7-minute hourglass. How can you time exactly 9 minutes?

Hint

Start both together and flip each one the moment it runs out. Pay attention to how much sand is left in the other one.

Answer

Start both hourglasses at 0:00.
At 4:00 the 4-minute glass runs out, so flip it again.
At 7:00 the 7-minute glass runs out, so flip it again.
At 8:00 the 4-minute glass runs out again. The 7-minute glass has been running for 1 minute, so flip it. The 1 minute of sand on the bottom now falls back, and it finishes at 9:00.

4. Wolf, goat and cabbage

Classic

A farmer must take a wolf, a goat and a cabbage across a river in a boat that holds only the farmer and one item. If left alone together, the wolf will eat the goat, and the goat will eat the cabbage. How does everyone get across safely?

Hint

The goat is the problem item. It cannot be left with either of the others, so it may need to make a return trip.

Answer

1. Take the goat across.
2. Return alone.
3. Take the wolf across.
4. Bring the goat back.
5. Take the cabbage across.
6. Return alone.
7. Take the goat across again.
That is 7 crossings, and nothing is ever left in a bad pairing.

5. Three knights and three bandits

Hard

Three knights and three bandits must cross a river in a boat that holds two. If bandits ever outnumber the knights on a bank (with at least one knight there), the knights are robbed. At least one person must row each trip. How do they all cross?

Hint

Do not try to move the knights first. Start by moving bandits, and use trips that bring someone back so neither bank is ever lopsided.

Answer

It takes 11 crossings. L means the starting bank and R the far bank.
1. Two bandits cross (L: 3K, 1B).
2. One bandit returns (L: 3K, 2B).
3. Two bandits cross (L: 3K).
4. One bandit returns (L: 3K, 1B).
5. Two knights cross (L: 1K, 1B).
6. A knight and a bandit return (L: 2K, 2B).
7. Two knights cross (L: 2B).
8. One bandit returns (L: 3B).
9. Two bandits cross (L: 1B).
10. One bandit returns (L: 2B).
11. Two bandits cross. Everyone is across.

6. Measure four gallons

Medium

You have a 3-gallon jug and a 5-gallon jug, and a tap with unlimited water. How do you measure exactly 4 gallons?

Hint

Pour from one jug to the other, and notice what is left behind when the small jug is full.

Answer

1. Fill the 5-gallon jug.
2. Pour from it into the 3-gallon jug (5 now holds 2).
3. Empty the 3-gallon jug.
4. Pour the 2 gallons into the 3-gallon jug.
5. Fill the 5-gallon jug again.
6. Top off the 3-gallon jug, which takes 1 gallon. The 5-gallon jug now holds exactly 4 gallons.

7. Three switches and a bulb

Medium

Three switches outside a closed room control three bulbs inside. You may flip the switches as much as you like, but you may enter the room only once. How can you tell which switch controls which bulb?

Hint

Light bulbs give off more than light.

Answer

Turn switch 1 on and wait several minutes. Turn it off, then turn switch 2 on, and go into the room. The bulb that is lit belongs to switch 2. The bulb that is off but warm belongs to switch 1. The bulb that is off and cold belongs to switch 3.

8. The heavy ball

Medium

Nine balls look identical, but one is slightly heavier. You have a balance scale and may use it only twice. How do you find the heavy ball?

Hint

Split the balls into groups of three, not into halves.

Answer

Weigh 3 balls against 3 balls. If they balance, the heavy ball is in the 3 you did not weigh. Otherwise it is in the heavier group. Either way you now have 3 suspects. Weigh 1 against 1. If one side is heavier, that is the ball. If they balance, the ball you left out is the heavy one.

9. Two guards, two doors

Classic

Two doors, one to freedom and one to doom, are each guarded by a guard. One always tells the truth and the other always lies. You do not know which is which. You may ask one question to one guard. What do you ask?

Hint

Make both kinds of guard give you the same kind of wrong answer.

Answer

Ask either guard: “If I asked the other guard which door leads to freedom, which door would he point to?” The truth-teller honestly reports the liar’s false answer, and the liar lies about the truth-teller’s true answer. Either way, you hear the door that leads to doom, so you take the other door.

10. The three doors

Mind-bender

You are on a game show with three doors. Behind one is a car, behind the other two are goats. You pick a door. The host, who knows where the car is, opens a different door and shows a goat. He then offers you the chance to switch to the remaining closed door. Should you switch?

Hint

Your first pick had a 1 in 3 chance of being right. Does the host opening a door change that?

Answer

Yes, switch. Your first pick is right 1/3 of the time and wrong 2/3 of the time. When it is wrong, the host is forced to reveal the only other goat, so the door left is the car. Switching therefore wins whenever your first pick was wrong, which is 2/3 of the time.

Quick riddles

1You are racing and you pass the person in second place. What place are you in?

Second place. You took the second-place runner’s spot.

2A farmer has 17 sheep. All but 9 run away. How many are left?

Nine.

3Looking at a portrait, a man says: “Brothers and sisters I have none, but that man’s father is my father’s son.” Whose portrait is it?

His son’s. “My father’s son” is the speaker himself, so the man in the portrait is the speaker’s son.

4A man lives on the 10th floor. Every day he takes the elevator down to the ground floor. Coming home, he takes it to the 7th floor and walks up the rest, unless it is raining. Why?

He is too short to reach the button for the 10th floor, except that he can press it with his umbrella on rainy days.

5What has keys but cannot open locks?

A piano (or a keyboard).

6The more of me you take, the more you leave behind. What am I?

Footsteps.

7I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?

An echo.

8What gets wetter the more it dries?

A towel.

9How many months of the year have 28 days?

All twelve. Every month has at least 28 days.

10What can travel around the world while staying in a corner?

A stamp.