Library

Quant brainteasers with worked solutions

Become a member

Brainteasers are the oldest part of a quantitative interview and the part most often misread. They are not questions about finance. They are questions about whether you can build a small exact argument while somebody watches: prisoners and hats, jugs of water, a fox on the bank of a pond.

The setups are deliberately silly and the reasoning is not. Invariants, parity, induction, a base case you actually check: it is the same reasoning a pricing argument needs, with none of the vocabulary in the way. This page holds the 28 brainteasers in the Thuztra Learn library, grouped by difficulty. The 1 marked free carries the full worked solution, and every one is solved in full for members. A linked title opens the brainteaser on a page of its own.

Free brainteasers, solved in full

Start here if you want to check your working against a complete solution.

Two jugs, no markings, and an exact amount to hit

A tap, a three litre jug, a five litre jug, neither one marked. Get exactly four litres of water into one of them, using nothing but filling, emptying, and pouring one into the other.

Intro · free, full solution

Intro brainteasers

One idea each, stated plainly enough that the work is understanding the question rather than decoding it.

Three jars, three wrong labels, and one piece of fruit

Three jars hold apples, oranges, and a mix of both, but every label is guaranteed wrong. Fix all three labels after drawing just one piece of fruit from just one jar.

Two jugs, no markings, and an exact amount to hit

A tap, a three litre jug, a five litre jug, neither one marked. Get exactly four litres of water into one of them, using nothing but filling, emptying, and pouring one into the other.

Free, full solution

Two guards, two doors, and exactly one question

One door leads to freedom, the other does not. One guard always tells the truth, the other always lies, and you cannot tell which is which. Find a single question that always works.

The farmer, the wolf, the goat, and the cabbage

One boat, room for the farmer and only one companion at a time, and two pairs that cannot be left alone together on either bank. Get everyone across without anything getting eaten.

Members · question, hint and idea free

Medium brainteasers

A derivation or a careful count. Paper and a clear head, no software.

Ants on a pole, and what happens when two of them meet

Any number of ants on a pole, walking at the same speed, reversing whenever two meet head on. Bound the time until every ant has fallen off, without tracking a single collision.

Four people, one torch, and a bridge in the dark

Four people share one torch to cross a bridge at night, the bridge only holds two at a time, and nobody can cross without light. Find the fastest crossing plan, and prove nothing faster exists.

Members · question and hint free

Two ropes that burn unevenly, and a clock made of fire

Two ropes, each guaranteed to take an hour to burn end to end but at no guaranteed steady rate along the way, plus a lighter. No clock. Find a way to mark a shorter interval anyway.

Members · question and hint free

Chameleons that change colour when they meet

Three colours of chameleon on one island, and any meeting between two different colours turns both into the third. Decide whether the island can ever go a single colour.

Two players, a round table, and an endless supply of coins

Players take turns placing coins on a table until someone has nowhere legal to put one, and that player loses. Decide who wins with perfect play, and give the strategy.

Splitting a full jug in half with no tap and no markings

A full jug and two empty ones, none of them marked, no water source and nothing may be poured away. Divide the contents into two equal shares, in as few pours as possible.

How many table tennis balls fill a room, and how wrong could that be

No lookups, no calculator worth the name, sixty seconds. Produce a number for how many balls a room holds, and then produce the more important thing: an honest statement of how far off it could be.

Two corners come off a chessboard, and the dominoes still look like they fit

Cut two opposite corners off a chessboard and the arithmetic still works out perfectly. Decide whether a full domino tiling exists, without trying a single arrangement.

Members · question and hint free

One poisoned bottle among a thousand, and a deadline

Exactly one bottle in a large shipment is poisoned, a test strip takes time to show symptoms, and the deadline allows only one round of testing. Work out the fewest strips that guarantee finding it.

Members · question and hint free

A line of prisoners, hats they cannot see, and one sacrifice

Each prisoner in a line sees every hat ahead but none behind, and must guess their own colour aloud in turn. Maximise how many are guaranteed correct, not just how many probably will be.

Members · question and hint free

A company of soldiers, a river, and a boat that holds two boys

The only boat on the river takes two boys or one soldier, never a mixture. Everyone has to end up on the far bank, and the question is how many crossings that costs.

Three switches, one bulb, and only one trip up the stairs

Three identical switches downstairs, one bulb in a sealed room upstairs, and a single visit allowed. The bulb appears to answer only yes or no, which is one answer short.

Members · question and hint free

Hard brainteasers

The setup carries a trap, or the argument needs a structure the question never mentions.

The island where a stranger's obvious remark changes everything

Everyone on the island already sees who has blue eyes. A visitor states a fact every islander already knew, and it still changes what happens next. Work out why the statement does anything at all.

Members · question, hint and idea free

Meera tells two friends her birthday, separately and incompletely

Meera tells Arjun only the month of her birthday and Priya only the day. The two of them trade short statements about what they do and do not know. Work out the date from the exchange alone.

A jeep, a desert, and fuel that cannot be carried all at once

A jeep can carry only one tank of fuel at a time, but it can shuttle fuel forward and cache it at depots, doubling back as often as it likes. Work out how far a fixed fuel budget can actually reach.

A duck in a round pond and a fox that cannot swim

The fox runs several times faster than the duck swims, and it never leaves the bank. Work out whether the duck can reach dry land before the fox does, and where exactly the threshold sits.

The prisoners, the boxes, and the cycle they are standing on

Each prisoner may open half the boxes, hunting their own number, and every prisoner must succeed for the group to go free. Random search is the obvious strategy, and not the best one.

Members · question, hint and idea free

The prisoners and the switch in the empty room

One switch, no other communication, a warden calling prisoners into a room one at a time forever. Design a protocol proving everyone has visited, with certainty rather than confidence.

Monty Hall, but the host has no idea where the car is

Same three doors and switch offer, but the host has no idea what is behind them and just happens to open a door with a goat. Work out whether switching still helps.

Members · question and hint free

Five pirates, a hundred coins, and a vote that must not tie

The senior pirate proposes a split of the loot. Everyone votes, ties favour the proposer, and a rejected proposer is thrown overboard so the next in line tries again. Work out the opening proposal.

Members · question, hint and idea free

Three hats, one shared prize, and the option to say nothing

Each player sees the other two hats, never their own, and may guess or stay silent. Every individual guess is a coin flip, and yet the team can do far better than a coin flip.

One counterfeit coin, and no idea which way it is wrong

A pile of coins, one of them fake, and nobody has said whether it is heavy or light. A balance, a hard limit on weighings, and a counting argument that sets the ceiling first.

Members · question, hint and idea free

Two envelopes, and an argument for switching that never stops

One envelope holds twice as much money as the other. Open it, see an amount, and a short calculation seems to prove switching always pays, even though the logic would apply again after switching.

Members · question and hint free

The judge's sentence that seems to defeat itself

A judge promises an execution next week that will come as a total surprise. A tight chain of logic seems to prove that promise cannot be kept. Work out exactly where the chain of logic breaks.

By topic

The ideas this collection comes back to most often, each gathered across every form the library takes it in.

Learn quant finance on Thuztra Learn

Thuztra Learn teaches the maths of quant finance from zero, in short lessons, for readers who are unsure of it. Three questions in the app build your quant roadmap, free. Membership is a paid subscription. See what Thuztra Learn is and what it costs, or see the whole Core quant curriculum.

Get the app and answer the three questions:

Download on the Microsoft Store Download for Android

On Android, the app is a direct download, not a Google Play listing. Which devices, and what each one needs.

Also in the library