WalzoneInterview Prep
📞 Interviewing soon? Practice with a realistic AI mock phone interview — it calls you, then scores you. First 15 min FREE →

Wall Street Quant · Puzzles & Problems · question 28 of 155

You are at a race track with 25 horses. You want to find out the fastest 3 horses, but the track only allows 5 horses to race at a time. What is the minimum number of races you need to conduct to find out the top 3 horses?

📕 Buy this interview preparation book: 155 Wall Street Quant questions & answers — PDF + EPUB for $5

We can find the top 3 fastest horses in a minimum of 7 races, using a combination of elimination and comparison strategies. Here’s the step-by-step process:

$\underline{\textbf{Step 1:}}$ Divide the horses into 5 groups of 5 each and conduct 5 initial races, one for each group. We can denote these groups as follows:

Group A: A1, A2, A3, A4, A5
Group B: B1, B2, B3, B4, B5
Group C: C1, C2, C3, C4, C5
Group D: D1, D2, D3, D4, D5
Group E: E1, E2, E3, E4, E5

$\underline{\textbf{Step 2:}}$ Find the winner of each race. Let’s assume the fastest horse in each group is ranked 1, the second fastest is ranked 2, and so on. The winners’ table will look like this:

A1, B1, C1, D1, E1 (with ranks 1)

$\underline{\textbf{Step 3:}}$ Conduct a race among the winners (Race 6) to determine the overall fastest horse. Let’s say A1 is the fastest horse overall. So far, we have completed 6 races.

$\underline{\textbf{Step 4:}}$ To find the second and third fastest horses, consider that they must be among the following:

- Horses ranked 2nd and 3rd in Group A (A2 and A3), since A1 is the fastest.

- The horse ranked 2nd in Group B (B2), assuming B1 is just slower than A1, and B1 finished 2nd to A1 in the winners’ race.

- The horse ranked 1st in Group C (C1), assuming C1 is slower than both A1 and B1.

We can represent this as: A2, A3, B2, C1. Now, conduct the final race (Race 7) with these horses. The winner will be the 2nd fastest horse overall. Let’s say A2 wins, making it the 2nd fastest horse.

Finally, to determine the 3rd fastest horse, compare the remaining horses (A3, B2, and C1). Since A2 has beaten B2 and C1, and A3 directly lost to A2, A3 must be the 3rd fastest horse. Therefore, there’s no need for an 8th race.

So, we have found the top 3 horses: A1, A2, and A3. This process required a minimum of 7 races.

Reading is step one. Saying it out loud is the interview. Our AI interviewer calls your phone and runs a realistic Wall Street Quant interview — then scores it.
📞 Practice Wall Street Quant — free 15 min
📕 Buy this interview preparation book: 155 Wall Street Quant questions & answers — PDF + EPUB for $5

All 155 Wall Street Quant questions · All topics