Puzzles

Reasoning puzzles of the kind interviews ask, each with a worked solution that explains how to get there rather than only what the answer is.

A puzzle in an interview is rarely about the answer. What is being watched is how you start on something you have not seen before: whether you ask what the constraints are, whether you try a smaller version first, and whether you say what you are thinking. Silence followed by a correct answer scores worse than thinking aloud and getting most of the way.

So every puzzle here shows its working, and says which technique it is really about. That last part is the one worth keeping — parity, counting outcomes, balancing a worst case, finding an invariant. The answers you can look up; the techniques are what let you solve the one you were actually asked.

Lateral thinking puzzles

The answer is never a calculation. What these test is whether you will question an assumption the puzzle never actually stated - which is the single most transferable thing on this page.

Puzzle What it tests Difficulty
The Man in the Lift He rides to the tenth floor, then walks - except on rainy days. Questioning an assumption the puzzle never stated Easy
Two Fathers and Two Sons Two fathers and two sons go fishing and catch three fish - one each. Noticing that one person can hold two roles Easy
He Pushed His Car to a Hotel A man pushes his car to a hotel and tells the owner he is bankrupt. Noticing the words fit a different world Easy
The Colour of the Bear Walk south, east, north, and arrive back home. A bear walks past. Turning a description into a position Easy
The Surgeon Who Could Not Operate A boy arrives at hospital. The surgeon says: I cannot operate, he is my son. Catching an assumption you did not know you made Easy
Two Coins, Thirty Cents Two coins total thirty cents and one of them is not a nickel. Reading a quantifier exactly Easy
Months With Twenty-Eight Days How many months of the year have twenty-eight days in them? Noticing that "has" is not "has only" Easy
The Ladder and the Tide A ladder hangs over a ship’s side. The tide rises a foot an hour. Asking what moves relative to what Easy
The Lorry Under the Bridge A lorry is wedged under a bridge by two inches. Engineers are stumped. Changing the thing nobody thought was adjustable Easy
What to Light First A dark room, a lamp, a stove and a candle, and one match. Checking the order the question implies Easy
How Far Into the Wood How far can a dog run into a wood? Noticing where a definition stops applying Easy
The Electric Train An electric train travels north in a south wind. Which way does the smoke blow? Reading the one word that settles it Easy
Water and Broken Glass A room with water on the floor, broken glass, and nobody in it. Explaining every clue with one cause Medium
Measuring a Building With a Barometer The expected answer is air pressure. There are at least six better ones. Refusing to answer only the expected way Medium
The Coin Dated 544 BC A dealer offers a genuine coin stamped 544 BC. It cannot be. Checking a claim against how dating works Easy
The Race the Slower Horse Wins Two sons race to see whose horse is slower. Neither will move. One word fixes it. Changing what you control rather than what you do Medium
Four Triangles, Six Matches Six matches, four equal triangles, no breaking or overlapping. It cannot be done flat. Leaving the plane Medium
Weighing an Elephant An elephant, a river, a boat and a balance that weighs one stone at a time. Measuring by substitution Easy
The Prisoner and the Two Black Pebbles Both pebbles in the bag are black. He still walks out free. How? Using information you are not supposed to have Medium
Trapped by a Fire on an Island Fire at one end, sea on every side, and a box of matches in your pocket. Removing the cause rather than escaping it Medium
Six Glasses, One Move Three full, three empty. Make them alternate by touching one glass. Separating the container from the contents Easy
In On Friday, Out On Friday He arrived on Friday, stayed three nights and left on Friday. Both are true. Spotting a word doing two jobs Easy
Where Do You Bury the Survivors? A crash on a border, a week of argument, and a question with no answer. Checking that the question is a question Easy
The Coin in the Corked Bottle A coin in a corked bottle. Do not break the bottle or remove the cork. Reading a constraint exactly as written Medium
One Drank Fast, One Sipped Same bar, same bottle, same glass. One of them is dead by closing time. Finding the variable the story leaves open Medium

Geometry and grid puzzles

Boards, tilings, cuts and paths. A colouring argument settles more of these than any amount of trying, and recognising when one applies is the skill being trained.

Puzzle What it tests Difficulty
The Mutilated Chessboard Remove two opposite corners from a chessboard. Can dominoes still tile it? Finding a colouring argument Medium
The Painted Cube Paint a cube, cut it into 27 cubes. How many have exactly two faces painted? Sorting pieces by where they sat Easy
Nine Dots, Four Lines Join nine dots in a square grid with four straight lines, without lifting the pen. Leaving a boundary nobody drew Medium
The Ant and the Box An ant crawls from one corner of a box to the opposite one. How far? Unfolding a surface to make a path straight Hard
One Metre of Extra Rope A rope circles the equator. Add one metre and lift it evenly. How high? Trusting algebra over scale Medium
The Spider and the Fly A spider crosses walls, floor and ceiling to reach a fly. How short can the crawl be? Unfolding a room to straighten a path Hard
A Coin Rolled Around a Coin One coin rolls once around an identical fixed coin. How many times does it spin? Separating rotation about a centre from rotation in place Medium
Corner to Corner Through a Brick A box is 3 by 4 by 12. How long is the rod that just fits corner to corner? Pythagoras applied twice Easy
Square, Circle, Square A circle fits inside a square, and a square inside that circle. Compare the squares. Relating a square to its circumscribed circle Medium
The Ladder That Slips A ladder's top slips 2 m down a wall. How far does its foot travel? Noticing that equal drops are not equal slides Medium
Two Napkin Rings Bore a hole through a sphere, leaving a band of fixed height. Its volume surprises. Finding the variable that does not matter Hard
The Most Field for the Fence 100 m of fence must enclose a rectangle. What is the largest area possible? Knowing which rectangle is biggest Easy
Six Straight Cuts Six straight cuts across a pizza, no rearranging. What is the most pieces? Counting what each new cut adds Medium
The Shadow and the Lamppost A 1.8 m man casts a 3 m shadow while standing 7 m from the lamp. How tall is it? Similar triangles from a shared light source Easy
The Ring and the Chord A chord of the outer circle just touches the inner one. That alone fixes the ring's area. Solving for a combination instead of each radius Hard
Joining the Midpoints Join the midpoints of a triangle's sides. What fraction of the area do you cut out? How area scales with length Easy
Every Square on the Board Not 64. Count every square of every size on an 8 by 8 board. Counting by size rather than by eye Medium
The Seven Bridges Cross every bridge exactly once. Euler showed why nobody ever could. Proving a walk impossible by counting ends Hard
Three Houses, Three Utilities Gas, water and electricity to three houses, with no pipe crossing another. Knowing when a drawing cannot be flattened Medium
Points Round a Circle Join every pair of points and count the regions: 1, 2, 4, 8, 16 — then not 32. Distrusting a pattern that has held five times Hard
Archimedes' Tombstone A sphere in the tightest cylinder that holds it. Two thirds, exactly. Comparing volumes without computing either Medium
Area From Three Sides A triangle of sides 13, 14 and 15. No height, no angle — and a whole-number area. Finding an area with no height given Medium
Four Colours Are Enough Any map on a flat sheet needs four colours. Proving it took a computer. Telling a hard theorem from an easy-looking one Medium
The Goat at the Corner Tied to the corner of a square barn, the rope bends round as the goat walks. Adding partial circles as the rope wraps Medium
The Largest Triangle in a Circle An equilateral triangle inside a circle. How long is its side? Splitting a figure into familiar triangles Medium

Questions people ask

Why do interviews ask puzzles?

Less often than they used to, and rarely to see whether you get the answer. What an interviewer is watching is how you start on something you have not seen before: whether you ask what the constraints are, whether you try a smaller version first, and whether you say what you are thinking. Silence followed by a correct answer scores worse than thinking aloud and getting most of the way.

Is it worth memorising the classic ones?

Only up to a point. The classics are worth knowing because the technique in each one - pigeonhole, invariants, working backwards from the end state, weighing to split a set in three - transfers to puzzles you have not seen. Memorising the answer without the technique leaves you with nothing the moment the numbers change.

What if I cannot solve one?

Read the working, then close it and solve it again from scratch a day later. A puzzle you have read the answer to is not a puzzle you can do.