Most people who say they are bad at logic puzzles are not bad at reasoning. They are missing a method. They read a river-crossing problem, try to hold six moving pieces in their head at once, lose track on move four, and conclude the puzzle is beyond them. It almost never is. A logic puzzle is a closed system with a finite number of states, and the moment you start writing those states down, an impossible-looking question turns into bookkeeping.
This collection contains 50 classic logic puzzles with answers, grouped into six families that between them cover almost everything the genre does: warm-ups, truth-tellers and liars, crossings and measuring problems, balance-scale weighings, hat and shared-information puzzles, and a final set that has defeated a great many smart people. Every answer below includes the reasoning, not just the result, because in this genre the reasoning is the answer.
None of these need mathematics beyond arithmetic. A few need patience. If you want something looser and more lateral first, our 45 lateral thinking puzzles reward a very different kind of thinking, and the detective riddles and mystery puzzles set sits roughly halfway between the two. Keep a pen handy for this one. Seriously — the people who solve the hard half are not cleverer, they are the ones holding a pen.
What Makes a Logic Puzzle Different From a Riddle
A riddle hides its answer in language. It plays on a double meaning, a hidden assumption or a pun, and once you see the trick the whole thing collapses in a second. There is no partial credit and no working out — you either spot it or you do not.
A logic puzzle hides nothing. Every fact you need is stated plainly in the question, and the difficulty lies entirely in combining those facts without making a mistake. You can grind your way to the answer with no flash of insight at all. That is why logic puzzles are the ones that appear in aptitude tests and technical interviews: they measure something repeatable rather than something lucky.
The practical consequence is that logic puzzles are trainable in a way riddles are not. Work through thirty of them properly and the thirty-first will feel noticeably easier, because you will have built a library of moves — assume and contradict, work backwards, count the information available — rather than a library of punchlines.
The Six Families of Logic Puzzle
Almost every classic logic puzzle belongs to one of six families, and each family has a signature move that cracks most of its members. Recognising the family is half the work, which is why the sections below are organised this way rather than purely by difficulty.
Work through them in order if you can. The later sections quietly assume you have met the moves introduced in the earlier ones.
Warm-Up Logic Puzzles (1–10)
These ten are short, and every one of them can be done in your head. They are here to get you into the habit of reading the question completely before you start answering it, which is the single most common reason confident solvers get easy puzzles wrong.
1. Three boxes are labelled Apples, Oranges and Apples and Oranges. Every single label is wrong. You may draw one fruit from one box without looking inside. Which box do you draw from, and how do you then label all three correctly?
Answer: Draw from the box labelled Apples and Oranges. Because its label is wrong, that box must contain only one kind of fruit, so whatever you pull out identifies it exactly. Say you pull an apple: that box is Apples. The box labelled Oranges cannot be oranges and cannot be apples, so it is the mixed box, and the box labelled Apples must be oranges. One draw settles all three.
2. Five people are in a room and each shakes hands with every other person exactly once. How many handshakes take place?
Answer: Ten. Each handshake is a pair of people, and the number of pairs you can make from five people is 5 × 4 ÷ 2 = 10. The division by two matters: counting “five people × four hands each” counts every handshake twice.
3. Ana, Ben, Cara and Dan finished a race with no ties. Ana finished before Ben. Cara finished after Dan but before Ana. Who won?
Answer: Dan. Cara is after Dan and before Ana, and Ana is before Ben, so the full order is Dan, Cara, Ana, Ben. Chaining the two statements together is enough; you never need to consider any other arrangement.
4. If 8 printers can print 8 pages in 8 minutes, how long will 24 printers take to print 24 pages?
Answer: Eight minutes. Eight printers producing eight pages in eight minutes means each printer takes eight minutes per page. Twenty-four printers working in parallel therefore produce twenty-four pages in the same eight minutes. Scaling the machines and the workload by the same factor leaves the time untouched.
5. A colony of bacteria doubles in size every hour. The jar is completely full at 6 p.m. At what time was the jar one-eighth full?
Answer: 3 p.m. Running the doubling backwards, the jar was half full at 5 p.m., a quarter full at 4 p.m. and an eighth full at 3 p.m. Exponential growth is startling in reverse: the jar spends almost all of its history looking nearly empty.
6. You have a 3-litre jug, a 5-litre jug and a tap. Neither jug has markings. Measure out exactly 4 litres.
Answer: Fill the 5-litre jug and pour it into the 3-litre jug until that is full, leaving 2 litres in the big jug. Empty the small jug and tip those 2 litres into it. Fill the 5-litre jug again and top up the small jug, which only has room for 1 more litre. Exactly 4 litres remain in the 5-litre jug.
7. A clock reads 3:15. What is the angle between the hour hand and the minute hand?
Answer: 7.5 degrees. The minute hand is at 90 degrees. The hour hand is not at 90 degrees — it has crept a quarter of the way from 3 to 4, which is a quarter of 30 degrees, so it sits at 97.5 degrees. The gap is 7.5 degrees. Almost everyone answers zero.
8. Two fathers and two sons go fishing. Each of them catches exactly one fish, yet only three fish are caught in total. How?
Answer: There are only three people: a grandfather, his son and his grandson. The man in the middle is simultaneously a father and a son, so he is counted in both groups. The puzzle only looks impossible if you assume four distinct people.
9. A rope ladder hangs over the side of a ship with its rungs 30 cm apart, and exactly 10 rungs are above the water. The tide rises by 1.5 metres. How many rungs are above the water now?
Answer: Still ten. The ship floats, so it rises with the tide and the ladder rises with it. The numbers in the question — 30 cm, 1.5 metres — are there purely to tempt you into dividing one by the other.
10. A drawer in a dark room holds 10 red socks and 10 blue socks, mixed together. How many socks must you take out to be certain of having a matching pair?
Answer: Three. Two socks might be one red and one blue, but with three socks and only two colours available, at least two of them must share a colour. The count depends on the number of colours, not the number of socks: with three colours the answer would be four.
Knights and Knaves: Truth-Teller and Liar Puzzles (11–20)
These all take place on an island with two kinds of inhabitant. A knight always tells the truth. A knave always lies — not occasionally, not when convenient, but in every statement without exception. That absolute consistency is what makes the puzzles solvable, because a liar who always lies is exactly as informative as someone who always tells the truth.
The signature move is proof by contradiction. Assume a speaker is a knight, follow the consequences, and if you reach something impossible then the speaker must be a knave. If you have met aptitude test questions on an exam paper, this is the same machinery in fancier clothing.
11. You meet two islanders, A and B. A says: “We are both knaves.” What is each of them?
Answer: A is a knave and B is a knight. If A were a knight the statement would be true, which would make A a knave — impossible. So A is a knave, and his statement is therefore false. “Both knaves” being false, with A already a knave, forces B to be a knight.
12. A says: “At least one of us is a knave.” What are A and B?
Answer: A is a knight and B is a knave. Suppose A were a knave: his statement would then be true, which a knave cannot manage. So A is a knight and the statement holds. Since A is not the knave, B must be.
13. You reach a fork. One road leads to the city, the other to certain death. Two guards stand there — one is a knight, one is a knave, and you cannot tell which is which. You may ask one guard one yes-or-no question. What do you ask?
Answer: Ask either guard: “If I asked the other guard whether the left road leads to the city, would he say yes?” Then take the opposite road to whatever you are told. The question routes the truth through exactly one liar either way — the knight reports the knave’s lie, or the knave misreports the knight’s truth — so the answer is reliably inverted.
14. A says: “B is a knight.” B says: “We are of different types.” What are they?
Answer: Both are knaves. If A were a knight then B would be a knight, and B’s own claim that they differ would have to be true — but two knights are the same type, so that collapses. So A is a knave, his statement is false, and B is a knave too. B’s false claim of difference is then exactly right for a liar, since they are in fact the same.
15. Three islanders. A says: “All three of us are knaves.” B says: “Exactly one of us is a knight.” What is C?
Answer: C is a knave. A cannot be a knight, since that would make his own statement self-defeating, so A is a knave and at least one of B and C is a knight. If B were a knave, “exactly one knight” would be false, leaving zero knights among the three — contradicting what we just established. So B is a knight, there is exactly one knight, and that knight is B. C is therefore a knave.
16. An islander walks up and says: “I am a knave.” What is he?
Answer: He cannot be either, so he is not an islander at all. A knight cannot say it because it would be false, and a knave cannot say it because it would be true. The sentence is a genuine paradox — the correct response is to reject the premise, which is a skill worth having.
17. You meet a single islander and want to know whether there is gold on the island. You ask: “Is it true that you are a knight if and only if there is gold here?” He says yes. Is there gold?
Answer: Yes, definitely. If he is a knight, his yes is true, so “knight if and only if gold” holds and the gold exists. If he is a knave, his yes is a lie, so the biconditional is false — and since “he is a knight” is already false, the only way for the biconditional to be false is for the gold to exist. Both branches agree. This if-and-only-if trick extracts a true answer from an unknown speaker every time.
18. A says: “B is a knave.” B says: “Neither of us is a knave.” What are they?
Answer: A is a knight and B is a knave. Test the alternative: if A were a knave then B would be a knight, and B’s statement that neither is a knave would have to be true — but A is a knave in that branch, so it fails. With A a knight, B is a knave, and B’s sweeping denial is duly false.
19. Three islanders stand before you. A says: “B and C are the same type as each other.” You then ask C: “Are A and B the same type?” What does C answer?
Answer: C always answers yes, whatever the three of them actually are. There are four consistent arrangements, and in each one C ends up saying yes — twice because it is true and he is honest, twice because it is false and he is lying. This is why a single question can be useless even when it is perfectly well formed.
20. The island also has spies, who may lie or tell the truth as they please. You meet three people: one knight, one knave and one spy. A says “I am not the spy.” B says “A is the spy.” C says “I am not the spy.” Who is the spy?
Answer: C is the spy. A cannot be the knave, because a knave saying “I am not the spy” would make the statement false and turn him into the spy instead. A cannot be the spy either: that would leave B and C as knight and knave in some order, and both arrangements break. So A is the knight, B’s accusation is false and makes B the knave, leaving C as the spy — free to say something untrue.
Crossing, Measuring and Planning Puzzles (21–28)
This family covers boats, bridges, jugs, hourglasses and anything else where you must get from one state to another under a restriction. The signature move is embarrassingly simple and almost nobody does it: write down what is on each bank, or in each container, after every single trip. Hold it in your head and you will lose the thread on move four every time.
21. A farmer must ferry a wolf, a goat and a cabbage across a river. The boat holds the farmer plus one item. Left alone, the wolf eats the goat and the goat eats the cabbage. How does he do it?
Answer: Take the goat over and come back empty. Take the wolf over, but bring the goat back with you. Leave the goat, take the cabbage over, come back empty, and finally take the goat. Seven crossings. The move everyone misses is bringing something back — the puzzle is unsolvable until you accept that progress can run backwards.
22. Three missionaries and three cannibals must cross a river in a boat that holds two people. If cannibals ever outnumber missionaries on either bank, the missionaries are eaten. What is the shortest sequence?
Answer: Eleven crossings. Two cannibals go over and one returns; two cannibals go over and one returns, leaving all three missionaries and one cannibal on the near bank. Two missionaries cross; one missionary and one cannibal come back. The last two missionaries cross, and a cannibal shuttles the remaining two cannibals over in the final three trips. The key insight is step five: you must move missionaries in pairs, never singly.
23. Four people must cross a rickety bridge at night with one torch. At most two can cross at a time, the torch must come back, and a pair moves at the slower person’s pace. They take 1, 2, 5 and 10 minutes. What is the fastest everyone can be across?
Answer: Seventeen minutes. The 1 and 2 cross together (2), the 1 returns (1), the 5 and 10 cross together (10), the 2 returns (2), and the 1 and 2 cross again (2). The obvious strategy — letting the fastest person shuttle everyone — costs 19 minutes. Pairing the two slowest together so you only pay the 10-minute penalty once is what saves the time.
24. A small boat can carry at most 100 kg. Three people weigh 50 kg, 50 kg and 100 kg. How do all three get across?
Answer: The two 50 kg people cross together and one of them rows back. The 100 kg person crosses alone, and the 50 kg person waiting on the far bank rows back. The two 50 kg people then cross together again. Five trips. The 100 kg person must travel alone, so the lighter pair has to position a rower on each side around that trip.
25. You have a 7-minute hourglass and an 11-minute hourglass. Measure exactly 15 minutes from the moment you start.
Answer: Start both together. When the 7-minute glass empties at minute 7, flip it. At minute 11 the 11-minute glass empties, and at that instant the 7-minute glass has been running for 4 minutes, so 4 minutes of sand sits in its lower chamber. Flip it, and it runs out exactly 4 minutes later — at minute 15.
26. You have two ropes. Each burns through in exactly 60 minutes, but neither burns at a steady rate, so half a rope is not half an hour. Measure 45 minutes.
Answer: Light rope A at both ends and rope B at one end simultaneously. Rope A is consumed from both directions and finishes in 30 minutes regardless of how unevenly it burns. At that moment light rope B’s other end: it has 30 minutes of rope left, now burning from both ends, so it takes 15 minutes. Total 45.
27. You must cross three bridges. At each one a troll takes half the coins you are carrying and then takes 2 more. After the third bridge you have exactly 2 coins left. How many did you start with?
Answer: Forty-four. Work backwards and invert the troll’s rule: add 2, then double. Before the third bridge you had (2 + 2) × 2 = 8. Before the second, (8 + 2) × 2 = 20. Before the first, (20 + 2) × 2 = 44. Forwards it checks out: 44 to 20 to 8 to 2.
28. You have a 4-minute and a 7-minute hourglass, and you need to boil an egg for exactly 9 minutes, starting the egg right now.
Answer: Start the egg and both glasses together. At minute 4 the small glass empties — flip it. At minute 7 the big glass empties — flip that too. At minute 8 the small glass empties again, and by then the big glass has only been running for 1 minute, so just 1 minute of sand sits in its base. Flip the big glass and it runs out at exactly minute 9.
Weighing and Balance Puzzles (29–36)
Balance-scale puzzles look like arithmetic and are really about information. A balance has three possible outcomes — left heavier, right heavier, or level — so one weighing can distinguish at most three cases, two weighings at most nine, three at most twenty-seven. Counting that budget before you start tells you immediately whether a puzzle is tight or generous, and often tells you how to split the objects.
29. Three coins look identical, but one is counterfeit and lighter. You have a two-pan balance. Find the fake in one weighing.
Answer: Put one coin on each pan and keep the third aside. If the pans balance, the coin you set aside is the fake. If not, the lighter pan holds it. One weighing covers all three cases because a balance has exactly three outcomes.
30. Nine balls are identical in appearance but one is heavier. Find it in two weighings.
Answer: Split them into three groups of three. Weigh one group against another. If they balance the heavy ball is in the untouched group, otherwise it is in the heavier pan — either way you have narrowed nine to three. Weigh one of those three against another and apply the same reasoning. Nine cases, nine outcomes from two weighings: exactly enough.
31. Twelve balls are identical except one, which is either heavier or lighter — you do not know which. In three weighings, identify the odd ball and say whether it is heavy or light.
Answer: Number them 1–12 and weigh 1,2,3,4 against 5,6,7,8. If they balance, the odd ball is among 9–12: weigh 9,10,11 against three known-good balls, which tells you both the culprit group and the direction, then a single comparison finishes it. If 1–4 are heavier, either one of 1–4 is heavy or one of 5–8 is light: weigh 1,2,5 against 3,4,6. Balanced means 7 or 8 is light, so compare them. Left heavy means 1 or 2 is heavy, or 6 is light — compare 1 against 2. Right heavy means 3 or 4 is heavy, or 5 is light. There are 24 possible answers and three weighings give 27 outcomes, so it only just fits.
32. You have 10 bags of coins. Every genuine coin weighs 10 g, but one bag contains only counterfeits weighing 9 g each. Using a digital scale once, find the bad bag.
Answer: Take 1 coin from bag 1, 2 from bag 2, 3 from bag 3 and so on up to 10 from bag 10 — 55 coins in all. If every coin were genuine the total would be 550 g. The shortfall in grams is the bag number: 3 g light means bag 3. You are encoding the bag’s identity in how many of its coins you include.
33. A 40 kg stone falls and breaks into four pieces. With those four pieces and a two-pan balance, the merchant finds he can weigh out any whole number of kilograms from 1 to 40. What are the four weights?
Answer: 1, 3, 9 and 27 kg. Because weights may sit on either pan, each piece can count as plus, minus or absent — three states — so powers of three are the natural base. To weigh 5 kg, put 9 on one pan and 3 plus 1 on the other with the goods. Four pieces give 3 × 3 × 3 × 3 = 81 combinations, covering every value from −40 to 40.
34. You have 27 balls, one of which is heavier than the rest. What is the smallest number of balance weighings that guarantees you find it?
Answer: Three. Three weighings distinguish 27 outcomes and there are exactly 27 candidates, so it fits perfectly with nothing to spare. Split into three groups of nine, then three, then one. Add a 28th ball and three weighings are no longer enough.
35. You have 10 kg of sugar, a two-pan balance and a single 1 kg weight. Measure out exactly 3 kg in two weighings.
Answer: First, pour sugar between the pans until they balance, splitting the 10 kg into two 5 kg piles. Second, take one 5 kg pile, place the 1 kg weight on the left pan and distribute that pile across both pans until they balance. The left pan now holds 2 kg of sugar plus the weight, and the right pan holds the remaining 3 kg.
36. You have 5 bags of coins. Genuine coins weigh 10 g and fakes weigh 9 g, but this time any number of the bags could be entirely fake — none, all five, or anything between. One weighing on a digital scale must identify exactly which bags are bad. How?
Answer: Switch from counting to binary. Take 1 coin from bag 1, 2 from bag 2, 4 from bag 3, 8 from bag 4 and 16 from bag 5 — 31 coins, which should weigh 310 g. Write the shortfall in grams as a binary number and each set bit names a fake bag: a 21 g shortfall is 10101 in binary, so bags 1, 3 and 5 are counterfeit. Powers of two work because every subset produces a unique total.
Hat, Prisoner and Shared-Information Puzzles (37–44)
This is the family that separates good solvers from very good ones. In every one of these puzzles, the decisive clue is not something anybody says — it is something nobody says. When a perfect reasoner fails to announce an answer, that silence rules out whole classes of possibility, and you are expected to notice. Treat “I don’t know” as data and these stop being mysterious.
37. Three prisoners stand in a line facing forwards. Hats are drawn from a pool of 3 white and 2 black. The man at the back sees two hats, the middle man sees one, the front man sees none. The back man says “I don’t know my colour.” The middle man says “I don’t know either.” The front man says “Mine is white.” How?
Answer: There are only two black hats, so if the back man saw two black hats he would know his own was white. His ignorance proves the front two are not both black. The middle man hears that and looks ahead: if the front hat were black, his own would have to be white, and he would know. His ignorance proves the front hat is white — which the front man, hearing both answers, works out without seeing anything at all.
38. One hundred prisoners stand in a line, each wearing a red or blue hat and able to see every hat in front of them but not their own. Starting from the back, each must say one colour word aloud. They may agree a strategy beforehand. How many can they guarantee to save?
Answer: Ninety-nine, with the hundredth having a 50–50 chance. The man at the back counts the red hats ahead of him and says “red” if that count is even and “blue” if it is odd, sacrificing himself to broadcast the parity. Everyone else tracks how the parity changes as answers are called out and can deduce their own hat exactly. One bit of information, shared cleverly, rescues 99 people.
39. Three logicians are each given a hat, black or white, and told that at least one is white. None can see their own. They are repeatedly asked, all at once, “Do you know your colour?” All three say no, then all three say no again, and on the third round all three say yes. What are the hats?
Answer: All three are white. If only one hat were white, that person would see two black hats and answer in round one. If exactly two were white, each white-hatted person would reason in round two that had he been black, the other white-hatted man would already have answered — so they would both answer then. Two full rounds of silence can only mean every hat is white.
40. One hundred prisoners are each assigned a number. In a room are 100 closed boxes, each containing one prisoner’s number in random order. Each prisoner may open 50 boxes, must find his own number, and all 100 must succeed or everyone dies. Random guessing gives them roughly one chance in a nonillion. What strategy gives them a 31% chance?
Answer: Each prisoner opens the box bearing his own number, reads the number inside, opens that box next, and keeps following the chain. The boxes form a permutation made of closed loops, and this strategy succeeds for everyone precisely when no loop is longer than 50. The probability of a random permutation of 100 having no long loop is about 31%, and it does not drop as the numbers grow. It is the most counter-intuitive result in this entire article.
41. You choose one of three doors; a car is behind one and goats behind the other two. The host, who knows where the car is, opens a different door to reveal a goat and offers you the chance to switch. Should you?
Answer: Switch. Your first pick is right one time in three, and that does not change when the host opens a door — he was always going to be able to reveal a goat. So two times in three the car sits behind the remaining door. Switching wins two-thirds of the time. The host’s knowledge is the hinge: if he opened a door at random and it happened to show a goat, switching would gain you nothing.
42. On an island live 100 blue-eyed and 100 brown-eyed people. Nobody knows their own eye colour, nobody may discuss it, and anyone who deduces their own colour must leave at midnight that night. A visitor says aloud: “I can see someone with blue eyes.” What happens?
Answer: On the hundredth night, all 100 blue-eyed islanders leave together. Build it up: with one blue-eyed person, he sees no blue eyes and leaves the first night. With two, each sees one other and expects him to leave on night one; when he does not, each realises he must be blue-eyed too, and both leave on night two. The pattern continues, so 100 blue-eyed islanders leave on night 100. The visitor seemingly told them nothing they could not see — but he made it common knowledge, which is a genuinely different thing.
43. A king gives a prisoner 50 white and 50 black marbles and two bowls. The king will pick a bowl at random, then draw one marble at random from it; the prisoner goes free if it is white. How should the prisoner distribute the marbles?
Answer: Put one white marble alone in the first bowl, and the other 99 marbles — 49 white and 50 black — in the second. Half the time the king picks the first bowl and the prisoner is certain to go free; the other half he draws from the second bowl with a 49-in-99 chance. That comes to roughly 74.7%, far better than the 50% an even split gives.
44. A census taker is told that the ages of three daughters multiply to 36 and add up to the house number next door. He looks at the house, thinks, and says “I still can’t tell.” The mother replies “My eldest plays the piano.” He then knows. How old are they?
Answer: Two, two and nine. The triples multiplying to 36 give sums of 38, 21, 16, 14, 13, 13, 11 and 10 — and 13 appears twice, for (1, 6, 6) and (2, 2, 9). Since the house number left him stuck, it must be 13. Mentioning an eldest daughter rules out (1, 6, 6), which has twin six-year-olds at the top, leaving 2, 2 and 9.
Genius-Level Logic Puzzles (45–50)
The last six are the ones that get asked in notoriously difficult interviews. Each is an optimisation problem with a hostile twist: you are not asked for an answer that usually works, you are asked for the best possible guarantee against the worst possible luck. If you solve three of these cold, you are doing better than most people who do this for a living.
45. You have two identical glass balls and a 100-storey building. A ball breaks if dropped from some floor or above, and survives below it. Find that floor while minimising the number of drops in the worst case.
Answer: Fourteen drops. Drop the first ball from floor 14, then 27, then 39, 50, 60, 69, 77, 84, 90, 95, 99 and 100 — the gaps shrinking by one each time. When it breaks, walk the second ball up one floor at a time through the gap below. The shrinking gap keeps the total constant: a break at floor 14 leaves 13 floors to test, a break at 27 leaves 12, and so on. You want the smallest n with 1 + 2 + … + n at least 100, which is 14.
46. You have 25 horses and a track that fits 5 at a time. You have no stopwatch, only finishing order, and every horse runs at a constant speed. How many races do you need to find the fastest three?
Answer: Seven. Race all 25 in five groups of five, then race the five winners — that sixth race ranks the groups. The overall winner is now known. Only six horses can still be second or third: the second and third from the winner’s group, the first and second from the runner-up’s group, and the winner of the third-placed group. That is five horses, so one final race settles second and third. Every other horse has at least three horses proven faster.
47. A king has 1,000 bottles of wine, exactly one of which is poisoned. The poison kills in 24 hours and he has prisoners to test it on. He needs the answer in 24 hours. What is the minimum number of prisoners?
Answer: Ten. Number the bottles 0 to 999 in binary, which needs ten digits, and assign each prisoner one digit. Each prisoner sips from every bottle whose number has a 1 in his position. After 24 hours, read off which prisoners died as a binary number and it gives the bottle. Ten prisoners cover 2 to the power 10 = 1,024 possibilities, comfortably more than 1,000.
48. Three switches outside a sealed room control one light bulb inside. You cannot see the bulb from outside, and you may enter the room exactly once. Which switch controls it?
Answer: Turn switch one on and leave it for five minutes, then turn it off and immediately turn switch two on. Go in. A lit bulb means switch two. A dark bulb that is warm to the touch means switch one. A dark, cold bulb means switch three. The trick is realising that a bulb carries two signals, light and heat, which is one more than the puzzle seems to offer.
49. A corridor has 100 closed lockers. Student 1 opens every locker. Student 2 changes the state of every 2nd locker, student 3 every 3rd, and so on through student 100. Which lockers end up open?
Answer: The ten perfect squares: 1, 4, 9, 16, 25, 36, 49, 64, 81 and 100. A locker is touched once for each of its divisors, and divisors normally pair up — 12 is 1×12, 2×6, 3×4 — giving an even number of flips that returns it to closed. Only a perfect square has a divisor that pairs with itself, giving an odd count and leaving it open.
50. A camel must carry 3,000 bananas to a market 1,000 km away. It can carry at most 1,000 bananas at a time and eats 1 banana for every kilometre it walks, in either direction. What is the greatest number of bananas it can deliver?
Answer: 533. With 3,000 bananas the camel needs three forward trips and two return trips per kilometre, burning 5 bananas per km, so after 200 km it has eaten 1,000 and 2,000 remain. With 2,000 it needs two forward and one return trip, burning 3 per km, and after a further 333 km it is down to 1,000 bananas at the 533 km mark. From there it carries the lot in a single trip, eating one per km over the final 467 km and arriving with 533. The counter-intuitive part is that eating bananas early is what makes the journey possible at all.
How Did You Do? Score Yourself
Give yourself one point for every puzzle where you reached the right answer and could explain why, because in logic puzzles a correct guess is worth nothing. Half marks for getting there after a peek at the first sentence of an answer.
If your score was lower than you hoped, the most useful thing to know is that the gap between a 20 and a 40 is almost entirely method rather than raw ability. The section below is that method.
Six Techniques That Crack Almost Any Logic Puzzle
These six moves between them solve the overwhelming majority of puzzles in this genre. They are worth learning as deliberate habits, because under pressure you will default to whatever you have practised.
One more piece of advice that is not a technique: stop when you are stuck and come back in an hour. A surprising share of these puzzles resolve themselves on the second look, because the wrong assumption you were quietly carrying has had time to fade.
Summary
Fifty puzzles, six families, one underlying point: logic puzzles are not a test of how clever you are, they are a test of whether you are willing to be systematic. The warm-ups reward careful reading. Knights and knaves reward assuming something and chasing the contradiction. Crossings and measuring problems reward writing the state down after every move. Weighing puzzles reward counting your information before you touch the scale. Hat and prisoner puzzles reward treating silence as evidence. The genius-level six reward planning against the worst case rather than the likely one.
If you only take one habit away, make it the pen. The single biggest difference between people who finish these and people who give up halfway is not processing speed — it is that one group writes down what is on each riverbank and the other tries to remember it. That is also true in the exam hall, which is why pattern recognition questions and reasoning sections reward scratch paper so heavily.
Come back to the ones you missed in a week rather than reading the answers twice. Re-solving a puzzle you have already seen the answer to teaches you almost nothing; solving one you previously failed teaches you a great deal.
Frequently Asked Questions
What is the difference between a logic puzzle and a riddle?
A riddle conceals its answer in the wording and is solved by spotting a double meaning. A logic puzzle states every fact openly and is solved by combining those facts without error. Riddles reward insight; logic puzzles reward method, which is why they are trainable.
Are puzzles like these really used in job interviews?
Less than they once were. Several large technology firms moved away from pure brain teasers after concluding they predicted little about job performance. They remain common in quantitative finance, consulting case interviews and some graduate schemes, and the underlying reasoning still shows up in standardised aptitude testing almost everywhere.
Do logic puzzles raise your IQ?
Practising them reliably improves your score on puzzles of that kind, and improves your reasoning habits in situations that resemble them. Evidence that this transfers to general intelligence is much weaker. The honest reason to do them is that they are enjoyable and they make you more careful.
Which puzzle here is genuinely the hardest?
Number 40, the hundred prisoners and the boxes. The strategy is simple once stated, but almost nobody invents it, and the result — a 31% success rate where naive reasoning suggests essentially zero — is one of the most surprising facts in elementary probability. Number 42, the blue-eyed islanders, comes a close second.
What is the fastest way to get better at these?
Solve them with a pen, in families rather than at random, and force yourself to write out the reasoning in full even when you are sure. Reading solutions feels productive and teaches very little. Twenty puzzles solved properly beat two hundred skimmed.
Are these suitable for children?
The warm-ups and several of the crossing puzzles work well from around age ten. The knight-and-knave and information puzzles usually need early teens. For younger solvers, our brain teasers for kids set is pitched correctly from the start.
Related Articles
- 45 Lateral Thinking Puzzles With Answers — the opposite discipline to this article: puzzles where the stated premise is the thing you have to break.
- 50 Detective Riddles and Mystery Puzzles With Answers — deduction wrapped in a story, sitting roughly halfway between a riddle and a formal logic problem.
- 50 Aptitude Test Questions With Answers — the numerical, verbal and logical reasoning you will actually meet in a graduate selection test.
- 60 Pattern Recognition Questions With Answers — number, letter and shape series, the most common single question type in reasoning papers.
- 50 Spatial Reasoning Questions With Answers — cubes, nets, folding and rotation, for people who think better in pictures than in sentences.
- 75 Math Riddles With Answers — arithmetic puzzles graded from easy to hard, with full working on every answer.
- 60 Trick Questions With Answers That Fool Almost Everyone — the attention-to-detail counterpart, where the mistake is always in how you read the question.






