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.

Clock and calendar puzzles

Hands, angles, days and dates. The arithmetic is small; what catches people is choosing the wrong unit to count in, when counting in relative speed or in odd days makes the whole thing one line.

Puzzle What it tests Difficulty
Hands at a Right Angle How many times in a day are a clock’s hands exactly at right angles? Counting in relative speed Medium
The Same Date Next Year If today is a Monday, what day is this date next year? Counting only the remainder after whole weeks Easy
How Often the Hands Meet In twenty-four hours, how many times do the hour and minute hands coincide? Counting laps of the gap, not hours Medium
The Angle at Twenty to Four What is the angle between the hands at exactly 3:40? Remembering that the hour hand also moves Easy
Catching Up After Three After three o’clock, at what time do the two hands lie together? Dividing a head start by a relative speed Medium
The Clock That Gains A clock gains four minutes a day. What does it read a week later? Scaling a rate over the right span Easy
The Striking Clock A clock takes 30 seconds to strike six. How long to strike twelve? Counting gaps rather than events Easy
The Century That Was Not 1900 was divisible by four and was not a leap year. Why, and which centuries are? Knowing the exception to the exception Easy
When the Calendar Comes Back 2026 begins on a Thursday and is not a leap year. When is its calendar reusable? Accumulating odd days until they reach seven Medium
Hands Exactly Opposite Twelve hours, two hands, and a straight line through the centre. Eleven times, not twelve. Working with the relative speed of the hands Medium
The Clock That Gains Five Minutes a Day A clock runs fast. It will tell the truth again, but not for 144 days. Knowing how far a clock must drift to be right again Medium
The Clock in the Mirror A mirror shows the clock reading 2:30. The real time is not 2:30. Reflecting a position rather than a reading Medium
Which Hand Was Which? If the two hands were identical, how often would the time be ambiguous? Finding positions valid in both readings Hard
All Three Hands Together Hour, minute and second hands in one line. It happens twice a day and no more. Intersecting two periodic conditions Medium
The Angle at Ten Past Ten Not 120 degrees. The hour hand has crept five degrees past the ten. Remembering that the hour hand moves too Easy
Palindromes on a Digital Clock 21:12 reads the same backwards. How many times a day do? Enumerating under a digit constraint Medium
Which Day Is the 13th Most Often? The 13th really does fall on a Friday more often than on any other day. Using the 400-year calendar cycle Hard
How Many Strikes in a Day? A clock strikes the hour. How many times does it strike in a whole day? Summing a short run twice Easy
Quarter Past Three Both hands point at the 3. The angle between them is not zero. Remembering the hour hand has moved Easy
When Do the Hands Meet After Four? Not 4:20. The minute hand has to catch an hour hand that keeps moving. Catching one hand with another Medium
The Second Hand Laps the Minute Hand Sixty laps an hour, but only fifty-nine overtakings. Where did one go? Counting laps rather than meetings Medium
The Stopped Watch and the Slow One A stopped watch is right twice a day. One losing a minute a day is right less often. Comparing a fixed error with a drifting one Medium
Fifty-Two Mondays, or Fifty-Three? A year is 52 weeks and a bit. The bit decides which weekday gets an extra. Accounting for the days a year has over 52 weeks Medium
What Day Were You Born? Any date, any year, in your head — using one anchor day per year. Reducing a date to a weekday by hand Hard
Your Birthday Next Year A date moves on one weekday a year, two across a leap day. Tracking a remainder across leap years Medium

Work, speed and rate puzzles

Taps, trains, workers and journeys. Nearly all of them come out at once if you work in rates per unit of time rather than in times, which is the one habit these are here to build.

Puzzle What it tests Difficulty
Two Taps and a Drain One tap fills in 4 hours, another in 6, a drain empties in 12. How long? Adding rates instead of times Easy
The Train and the Platform A train passes a pole in 10 seconds and a 200 m platform in 30. How long is it? Being clear about which distance is covered Medium
Two Workers, One Job One takes 12 days, the other 18. How long together? Adding rates, never times Easy
More Hands, Fewer Days Ten workers take 12 days. How long do fifteen take? Spotting an inverse proportion Easy
There at Forty, Back at Sixty Drive out at 40 and back at 60. What is the average speed? Averaging over distance, not over time Medium
Upstream and Down A boat does 20 km downstream in 2 hours and 12 km up in 3. Find both speeds. Separating two speeds from two totals Medium
Two Trains Approaching Two trains 300 km apart close at 60 and 90 km/h. When do they meet? Closing a gap at a combined speed Easy
The Bird Between the Trains A bird flies back and forth between two closing trains until they meet. Choosing time over an infinite sum Medium
Walking Up the Escalator Walking up a moving escalator you take 20 steps; strolling, 10. How many are there? Adding your rate to the machine’s Hard
Beating Him by Twenty Metres A beats B by 20 m in a 100 m race. Give B a 20 m start - who wins? Converting a lead in distance into a ratio Medium
One Tap, Then Both One tap runs for 3 hours alone, then a second joins it. When is the tank full? Working out what fraction is left Medium
Overtaking the Walker A 150 m train passes a man walking the same way in 18 seconds. How fast? Subtracting when both move the same way Medium
The Tap and the Leak A tap fills in 6 hours, a leak empties in 10. Together it takes 15. Subtracting one rate from another Medium
Three Painters on One Job Twelve days, fifteen days and twenty days alone. Five days together. Adding three rates Medium
A Train Clearing a Tunnel A 200 m train, a 1 km tunnel, 60 km/h. Not 60 seconds. Including the length of the train Medium
The Job Handed Over Ana works four days of a ten-day job, Ben finishes it in nine. How fast is Ben? Converting work remaining into a rate Medium
Sixty Miles an Hour, Average Up the hill at 30. How fast down to average 60 for the round trip? Averaging times, not speeds Medium
The Messenger and the Column He runs from the back to the front and back again while the column advances its own length. Working in the frame of the moving column Hard
Two Candles, Different Lengths One lasts four hours, one lasts three. When is one stub twice the other? Writing both quantities as functions of time Medium
Two Runners on a Circular Track Same direction or opposite, the meeting times differ by a factor of five. Adding or subtracting speeds by direction Medium
The Moving Walkway Walk on the walkway or beside it. The difference is larger than it looks. Adding your speed to the floor's Medium
Down the Up Escalator Walk down an escalator going up. You get there, eventually. Subtracting the machine from the walker Hard
There and Back Against the Wind A tailwind out and a headwind back. You lose, every time. Showing that a symmetric help and hindrance do not cancel Medium
One Pipe Starts Early One pipe runs alone for two hours before the second is opened. Accounting for work already done Medium
The Typist Who Stopped Two start together, one leaves early, and the other finishes alone. Splitting a job between two periods 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.