Stop being the product.
Become the owner.
or
sign uplog in

🧠 The 25 Horses Puzzle (Find the Fastest 3) You have 25…

🧠 The 25 Horses Puzzle (Find the Fastest 3)

You have 25 horses and a track with only 5 lanes. There are no stopwatches; you can only observe relative order of finish. What is the minimum number of races needed to identify the top 3 fastest horses?

💬 This is a legendary Google interview question. Did you guess 7 races or more? (Solution in first comment 👇)

#brain #interviewquestion #horses #optimization #algorithm
loved
1
earnings
54,000 mlx total
$0  total
engagement
7 views
2 reactions

1 comments

$0 earned13d ago
💡 SCIENCE BEHIND THE ILLUSION:

Exactly SEVEN races! Race 1-5: Run all 25 horses in 5 groups. Race 6: Run the 5 winners of each group. Race 7: Take the 2nd and 3rd place from the champion's group, the 1st and 2nd from the 2nd group, and the 1st from the 3rd group (5 horses total) to find 2nd and 3rd overall!