Table of contents

Find the fastest 3 horses - Puzzle

The 25 Horses Puzzle (also known as the Fastest 3 Horses Puzzle) is one of the most famous logic and strategy problems in mathematics and competitive reasoning. The challenge looks simple at first: find the three fastest horses, but there’s a catch: you have no stopwatch, and only five horses can race at a time.

This puzzle is widely used in interviews at companies like Google, Amazon, and Microsoft because it tests logical deduction, optimization, and the ability to think efficiently under constraints.

Find-the-fastest-3-horses-Puzzle

Fastest 3 Horses Puzzle Setup and Rules

Here’s the setup of the puzzle:

  • There are 25 horses labeled from A1 to E5.
  • The racetrack can accommodate only 5 horses at a time.
  • You cannot measure time, you only get to know the relative rankings after each race (who finishes 1st, 2nd, 3rd, etc.).
  • The goal is to find the 3 fastest horses out of the 25 using the minimum number of races.

The question:
What is the least number of races needed to determine the 3 fastest horses?

Step-by-Step Solution to the 25 Horses Puzzle

The key to solving this problem lies in grouping, elimination, and logical deduction.
Let’s go through it step-by-step.

Step 1: Group the Horses into 5 Races

Since only 5 horses can race at a time, divide the 25 horses into 5 groups of 5 each.

RaceHorses in Group
Race 1A1, A2, A3, A4, A5
Race 2B1, B2, B3, B4, B5
Race 3C1, C2, C3, C4, C5
Race 4D1, D2, D3, D4, D5
Race 5E1, E2, E3, E4, E5

After these 5 races, you know the relative ranking of horses within each group (e.g., A1 is the fastest in Group A, A2 is second, and so on).
But you still don’t know how the groups compare against each other.

Total races so far: 5

Step 2: Conduct a Race Among the Winners

Now take the winners of each group (A1, B1, C1, D1, E1) and make them race to compare their speeds.

Race 6: A1, B1, C1, D1, E1

Assume the result of this race is:

1st: A1
2nd: B1
3rd: C1
4th: D1
5th: E1

Now we know:

  • A1 is the fastest overall horse.
  • The ranking of the groups is A > B > C > D > E (based on their winners).

Total races so far: 6

Step 3: Narrow Down Potential Candidates

At this stage, A1 is the fastest horse for sure.
We now need to find the 2nd and 3rd fastest.

Let’s think carefully about who could still be in the top 3.

  1. A2 and A3 - the 2nd and 3rd in Group A.
    (They could be faster than B1 or C1.)
  2. B1 and B2 - 1st and 2nd in Group B.
    (Since B1 was 2nd overall in the winners' race, both might still qualify.)
  3. C1 - 1st in Group C.
    (C1 finished 3rd among the winners.)

Any horses from Group D or E can be eliminated, because even their fastest (D1, E1) lost to at least three other horses (A1, B1, C1).

Total possible candidates now: A2, A3, B1, B2, C1
That’s 5 horses left to consider.

Step 4: Conduct the Final Race

Now, race these 5 candidates to determine the final rankings.

Race 7: A2, A3, B1, B2, C1

The result of this race will reveal the 2nd and 3rd fastest horses overall.

  • The winner of this race is the 2nd fastest overall (since A1 is already known as fastest).
  • The runner-up in this race is the 3rd fastest overall.

Total races: 7

Final Answer: Minimum Races Required

Total races needed: 7

StepDescriptionRace CountTotal Races
15 group races55
2Winners’ race16
3Final deciding race17

Thus, using 7 races, we can confidently determine the 3 fastest horses among the 25 without using any stopwatch or timing device.

Logical Explanation: Why 7 Races Work

Let’s break down the reasoning:

  • The first 5 races give internal rankings within each group.
  • The 6th race ranks the groups themselves (via their winners).
  • After eliminating impossible candidates, only 5 horses can still logically be in the top 3.
  • The 7th race resolves their exact positions.

This sequence ensures no unnecessary races are conducted, it’s the minimum possible to guarantee accurate results.

The Find the Fastest 3 Horses Puzzle is popular because it perfectly balances logic, efficiency, and deduction.
It challenges you to think strategically, not just calculate.

This puzzle is used in:

  • Tech interviews at Google, Amazon, and Meta.
  • Math Olympiads and reasoning contests.
  • Competitive exams to test analytical thinking.

It’s a brilliant example of optimization under constraints, finding the best solution with limited information.

Similar Logic Puzzles with Answers

1. The 100 Prisoners and Hats Puzzle – Parity and Logic

Setup: 100 prisoners must guess their hat color (red or black).
Answer: Using parity logic, at least 99 prisoners survive.

2. The River Crossing Puzzle – Farmer, Goat, Wolf, and Cabbage

Setup: A farmer must get a wolf, a goat, and a cabbage across a river with a one-person boat.
Answer: Take the goat first, then the wolf, then the cabbage, and finally the goat again.

3. The Two Doors Riddle – Truth and Lies

Setup: One guard always lies, one tells the truth. Which door leads to safety?
Answer: Ask one guard, “If I asked the other which door leads to freedom, what would he say?” Choose the opposite.

4. The Monty Hall Problem – Probability Trick

Setup: You pick one of three doors, one hides a car, others hide goats.
Answer: Always switch, it raises your chance of winning to ⅔.

5. The Blue Eyes Puzzle – Logical Revelation

Setup: People on an island don’t know their eye color until an outsider reveals there’s at least one with blue eyes.
Answer: If n have blue eyes, all leave on the nth night.

Puzzles

Related Articles