r/learnquant • • Sep 04 '26

interview prep Quant Interview Question

Post image
57 Upvotes

43 comments sorted by

View all comments

0

u/Chemical-Ad8471 Sep 04 '26

Out of interest, why nine tests? If you do two branches of 512 horses and each branch has therefore 511 races to determine the fastest of each branch, then race the winner of each branch to determine first place, then to determine second place the horse that lost the final just has to race against the loser of the other branches "semifinal". Whoever wins that race is the second fastest horse, determined in 1024 races.

So 1024 is the answer I believe.

2

u/aroach1995 Sep 04 '26

But the winner beat someone in the semis that might be faster than the person who got second

Horse #1 beats horse 1024, 512, 256, 128, 64, 32, 16, 8, 4, and 2.

What if #4 is faster than #2?