Today’s post comes from guest writer Gabriel Sobrino of Madrid, Spain, creator of Riddle of the Day. It isn’t about solving a puzzle so much as helping someone else solve one: what to say when a friend, a student or your own kid asks for a hint.
When someone asks for a hint, what are they really asking for? Usually not a smaller version of the answer. They want another chance to discover the answer themselves.
A good hint changes what a solver notices. A bad one changes who is doing the solving.
Consider this little puzzle.
Four cards, labelled A, B, C and D, lie in that order on a table:
A move consists of swapping two neighbouring cards. You must make exactly five moves. Can you finish with the cards in this order?
Before reading on, give it a try. This is a useful example because experiments can get you close without settling the question. Each hint below is hidden, so you can open them one at a time and stop as soon as you have what you need.
Hint One: Find the Right Question
Show Hint 1Hide Hint 1
The tempting approach is to move the B to the end, then try to use up the remaining moves. But that invites a growing tangle of cases. Instead, ask whether every move changes something that can be counted. You need not know its exact value at the end—perhaps only whether it is even or odd.
Notice what this hint withholds. It does not name the quantity. It simply redirects attention from finding a sequence to studying the rules of all possible sequences. The solver still has the important work to do.
Hint Two: Name the Quantity
Show Hint 2Hide Hint 2
For any arrangement, count the pairs of cards that appear in the reverse of their alphabetical order. For example, in A C B D, the only reversed pair is C–B, so the count is one. In A C D B, there are two: C–B and D–B.
Mathematicians call these reversals inversions. You do not need to know that word to use the idea.
Now try the question again: what happens to the inversion count whenever you swap two neighbouring cards?
This is stronger than the first hint. It supplies a tool but leaves the crucial calculation to the reader. A useful middle hint should make progress possible, not make the conclusion inevitable at a glance.
Hint Three: Reveal the Mechanism, Not the Verdict
Show Hint 3Hide Hint 3
An adjacent swap changes the inversion count by exactly one: it either creates one reversed pair or removes one. No other pair changes its relative order. Therefore every move switches the inversion count from even to odd, or from odd to even.
The solver now has almost everything needed. What remains is to apply the observation to the starting and ending arrangements and decide whether five moves could connect them.
The Solution
Show the Solution
No, it can’t be done.
The starting order, A B C D, has no reversed pairs, so its inversion count is 0, an even number. The finishing order, A C D B, has two reversed pairs (C–B and D–B), so its count is 2, also even.
Every move changes the count by exactly one, so the count flips between even and odd with each move. After one move it is odd, after two it is even again, and after five moves it must be odd. An arrangement with an odd count can never be A C D B.
The target is not far away, though. Two moves reach it: swap B and C to get A C B D, then swap B and D to get A C D B. Add pairs of moves that undo each other and you can reach it in four or six moves as well. Two, four or six moves will all work, but five never can.
Why the Order Matters
Imagine receiving the third hint first: “Count inversions; each swap changes the parity.” That would be mathematically correct and educationally clumsy. It would remove the moment of noticing that the problem should be attacked through an invariant.
The three hints serve three different purposes. The first directs attention. The second offers a representation. The third gives the decisive relationship. Each leaves a smaller, but meaningful, discovery for the solver.
This is not a rigid formula. Some puzzles need a diagram before a hint; others need reassurance that an unexpected approach is legitimate. The important question is always the same: what is the smallest useful intervention?
A hint need not make the puzzle easy. It should make it possible to continue thinking. The best reward is not hearing “That makes sense,” but hearing “Oh—I see it now.”